Way to get user's public IP?

plugins

#1

Is there a way to access the user’s IP address without having to hit freegeoip.net or the like (e.g., through one of Cloud9’s plugins)? Goal is to customize the behavior of some plugins for certain users. Thank you!


#2

you could run a server on the workspace and make request to it, but that’s even more hacky than using a free ip service.
What feature are you trying to enable based on ip? there must be a better approach for doing this.