2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Webサーバー 'IIS Express' に接続できませんでした。が出たときの対応

Posted at

結論

  1. Visual Studioを閉じる
  2. ソリューションフォルダ内の.vsフォルダを削除する
  3. Visual Studioを起動してデバッグ実行する

理由とか

.vsの中にある config/applicationhost.config のポートの整合性が合わなくなっているのか…詳しいことはあまり調べていませんが。
一度削除して再度起動すればフォルダごと再作成されるので、デバッグはできるようになります。

参考

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?