on 11-26-2014 3:41 AM
Hi
I am getting some Private IP when I am trying to get my own IP. Its working fine in local but in production giving private IP instaed of My IP with the below code.
String ipAddress = request.getHeader("X-FORWARDED-FOR");
why it is giving different IP instead of my IP when i am hitting as a user in Production.
Thanks
Penchal
Hi Penchal,
You are using the correct way to get it but I didn't understand your proiblem. Can you please elaborate bit more your problem please.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.