GetResponse はローカル マシンでは問題なく動作しますが、Windows Azure に展開すると、次の例外が発生します。私の ASP.NET Web サイトは、作成した exe を新しいプロセスとして実行します。exe 内のコードで、以下に示す例外が発生します。この問題を解決するために私が見ることができる可能な許可設定を誰かが提案できますか?
HttpWebRequest request = WebRequest.Create(requestUrl) as HttpWebRequest;
request.UserAgent = _userAgent;
request.Timeout = 50000;
HttpWebResponse response = request.GetResponse() as HttpWebResponse;
System.Net.NetworkInformation.NetworkInformationException (0x80004005): System.Net.NetworkInformation.SystemIPGlobalProperties.GetFixedInfo() で System.Net.NetworkInformation.SystemIPGlobalProperties.get_FixedInfo() で System.Net.NetworkInformation.SystemIPGlobalProperties.get_HostName() でアクセスが拒否されましたSystem.Net.NclUtilities.GuessWhetherHostIsLoopback (文字列ホスト) で System.Net.ServicePoint.get_ConnectionLimit() で System.Net.ConnectionGroup..ctor (ServicePoint servicePoint、文字列 connName) で System.Net.ServicePoint.SubmitRequest (HttpWebRequest 要求、文字列 connName) の System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint) の System.Net.HttpWebRequest.GetResponse()