Get computer name error - System.Net.Dns.GetHostEntry(Request.UserHostName).HostName

duncanmoscow

New Member
I am facing error when I open my url remotely on other pc or on ipad.http color slash slash ipadrss slash application slash order.aspxI am fetching computer name using \[code\]ComputerName = Dns.GetHostEntry(HttpContext.Current.Request.ServerVariables["remote_addr"]).HostName; \[/code\]But it says error like below.\[code\]The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for\[/code\]
 
Back
Top