Visual Studio “No connection could be made because target machine actively refused it 127.0.0.1:8888”

前端 未结 6 1742
轻奢々
轻奢々 2021-02-20 03:30

I tried to run a solution through Visual studio on my local machine. I get the webpage to appear and receive the error on the page: Unable to connect to the remote server No con

6条回答
  •  遥遥无期
    2021-02-20 04:13

    I had this issue when I changed the configured port number for my website. The first run on Firefox or Chrome would work, but the error would appear in the Output window on subsequent runs and the page would never load. It seems the browser holds on to the port number after the debugging stops, so it cannot launch again.

    The solution for me was to start running it in Internet Explorer. That is the one browser that consistently opens and closes the port appropriately in tandem with VS2013.

提交回复
热议问题