私は大企業環境に取り組んでいます。ms buildを使用してソリューションをリモートサーバーにデプロイしようとすると、アプリをデプロイしようとするたびにこのエラーが発生します。
エラーメッセージによると、接続できませんが、IPにpingを実行できます。両方のマシンのホストファイルにホストIPと名前を追加しました。私が何か間違ったことをしているのかどうかはわかりませんが、これまでに誰かがこれに遭遇したことがありますが、どのようにしてこれを克服しましたか?
注:この質問では、IPをmyip.com ...に置き換え、サイト名をサイト名に置き換えました(私のアプリはAsp.net MVC 4アプリケーションです)
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3847): Web deployment task failed.(Could not complete the request to remote agent URL 'https://myip.com/msdeploy.axd?site=my site name'.) This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server. Error details: Could not complete the request to remote agent URL 'https://myip.com/msdeploy.axd?site=my site name'. Unable to connect to the remote server A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond myip.com
どんな助けでも本当に適用されます