on ‎2014 Nov 26 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
Request clarification before answering.
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 |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.