Hi,
I need to fetch the IP address of User's device.
I used GetIP action available in Outsystems.
1. I am getting right IP address when I use my application by it server name in URL. I have no problem in this.
for eg: 192.158.1.38/application
2. But I am getting different and same IP address for all the users trying from different machines, If I access the application by its domain name.
for eg: www.domainname.com/application
Kindly help me to figure out this.
Thank you
Hello,
Probably you have a firewall and the IP you are getting is the IP of firewall.
In this case you need the IP in the header, normally is used: x-forwarded-for.
Hi Paulo Torres,
Thank you for your support which helped me to identify the issue. I have used GetRequestHeader action and passed "X-Forwarded-For". It is giving me different IP address. I think I need to check with network team.
Glad to help you.
I also had this pain in the past 😅
I am too, was scratching my head :)