Thanks. We tried that and it returns the same Firewall IP 192.168.1.254. Instead it should have returned my Client IP which was on a different location than the server's.
I im calling that page test page from the outside. When we try the very same code on a different server it works just fine (The client's IP is returned correctly)
Main Topics
Browse All Topics





by: x_comPosted on 2009-03-11 at 20:55:42ID: 23864637
Hi performadsign, t.UserHost Address? t.UserHost Address)
en-us/libr ary/ system .web.httpr equest.use rhostaddre ss.aspx
Have you try this - HttpContext.Current.Reques
eg:
Response.write("Client IP=" & HttpContext.Current.Reques
Further details:
http://msdn.microsoft.com/