Way to get user's public IP?



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!


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.