1

I use development Heroku account, and wrote simple web application. When I try to obtain RemoteAddr from the HTTP Request, I get IP: 10.151.38.13:47253, which is private address, and not my IP address shown from www.whatismyipaddress.com for example. I understand that there is some proxy, relaying web traffic, but is it possible to get the real IP address. Thank you.

Dragomir Ivanov
  • 534
  • 7
  • 19
  • possible duplicate of [Get client's real IP address on Heroku](http://stackoverflow.com/questions/18264304/get-clients-real-ip-address-on-heroku) – James Emerton Apr 09 '15 at 22:08

1 Answers1

1

No. The IP address will change and can't be guaranteed. Use a domain name. If you really need a static IP address, check out the proximo add-on.

Jon Mountjoy
  • 4,287
  • 21
  • 22