System.Net.Sockets.SocketException (0x80004005): No such host is known
I was working on an old ASP.NET application written in C#, which uses the following method to code to get the IP address of the server it runs on: Apart from the doubt about the correctness of the code to obtain the IP address of the machine, at the line with the call to “Dns.GetHostEntry”,…
Read More “System.Net.Sockets.SocketException (0x80004005): No such host is known” »