Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
305 Points
79 Posts
Feb 02, 2012 05:52 AM|LINK
Hi to all,
I need the client IP address from the browser using javascript... I alredy tried with
var ip = '<%=Request.ServerVariables("REMOTE_ADDR")%>';
var ip1 = '<%= Request.ServerVariables("HTTP_X_FORWARDED_FOR")%>';
It's all returning Proxy ip only..not exact client ip..
Please suggest us with examples...
Thanks in advance...
asureshkumar...
Member
305 Points
79 Posts
How to get Client IP address using javascript
Feb 02, 2012 05:52 AM|LINK
Hi to all,
I need the client IP address from the browser using javascript... I alredy tried with
var ip = '<%=Request.ServerVariables("REMOTE_ADDR")%>';
var ip1 = '<%= Request.ServerVariables("HTTP_X_FORWARDED_FOR")%>';A. Suresh Kumar