当我尝试使用公共IP从公司外部访问网络时,它会出现套接字错误,但是我在公司网络中使用计算机名称访问的网络是完美的。我的所有配置都是前天公共IP访问也是正常的,但突然停止。以下是出现的错误。
[SocketException (0x2af9): No such host is known]
System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6) +3175944
System.Net.Dns.GetHostEntry(String hostNameOrAddress) +8767334
SIGS.Home.Page_Load(Object sender, EventArgs e) +416
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178