2017-08-07 6 views
0

私はVS 2012をしばらく使用しており、サイトの公開やデバッグに関する問題はまだありません。ASP.netのWebサイトは公開されても正常に動作しますが、VSでデバッグするとHTTPエラー503が返されます

しかし、ちょうど今日、私は「ローカルISS Webサーバー」または「Visual Studioの開発サーバー」を使用して、私のサイトをデバッグしようとした時はいつでも、ローカルサーバー上で、その後に新しいポートに自分のサイトを公開しようとした私のページが返されます:

のFirefox:

Unable to connect 

Firefox can’t establish a connection to the server at localhost:59617. 

The site could be temporarily unavailable or too busy. Try again in a few moments. 
If you are unable to load any pages, check your computer’s network connection. 
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. 

クロム:

This page isn’t working 

localhost is currently unable to handle this request. 
HTTP ERROR 503 

奇妙なことは、私はまだ私達のサーバーにサイトを公開することができ、あるいはローカルと私が持っているということです仕事。デバッグ時にのみ機能しません。私は、コンピュータを再起動して、別のポートを試してみましたが、運がなかった。

私もこの男がやったように私のホストファイルを変更してみました:http://www.grumpydev.com/2009/03/12/strange-problem-unable-to-connect-to-the-aspnet-webserver-on-localhost/comment-page-1/#comment-73

が、それでもには運がなかったです。

提案がありますか?

答えて

0

はもちろん私が質問を投稿した直後に答えを見つける:

https://stackoverflow.com/a/6661177/5428728

私は私のプロジェクトフォルダのルートに移動し、app_offline.htmファイルを削除する必要がありました。

関連する問題