Client IP Issue - WeOnlyDo Discussion board

Client IP Issue (wodWebServer / wodWebServer.NET)

by Jeremy, Friday, November 14, 2014, 09:29 (3660 days ago)

I used "Request.UserHostAddress" to get client IP in ASP.NET, the value always return "127.0.0.1".

How could I get the real client IP in ASP.NET which is hosted on wodWebServer.NET?


This is a very simple ASP.NET example:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Write(Request.UserHostAddress)
End Sub


Complete thread: