Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERR_CONNECTION_RESET with IIS express in Visual Studio 2017

We´ve created a ASP.Net Core Web App and added some controllers. For some reason when I want to run the application, it connects to my local IIS express and the only message that occurs is the following

ERR_CONNECTION_RESET

I don´t try to connect to the port via SSL, so I don´t think it´s a certificate issue.

It doesn´t matter which controller I try to call. For some reason this behaviour appears just on my machine. If I create a new Wep App it works perfectly fine.

I tried the following steps:

  • Changed the port number in the web server settings in the project properties
  • Uninstalled IIS Express and reinstalled it
  • Deleted the hole .vs folder in my project
  • Host the web app on my local IIS Server
  • Compared the hole project settings with the project settings of a machine, where it runs fine

I´m stuck on this problem for 2 days now and don´t want to reinstall VS2017. Maybe it´s just a little thing which I´ve missed.

Thanks for your replies :)

like image 962
Grundadrakk Avatar asked Oct 16 '22 07:10

Grundadrakk


1 Answers

The problem was based on my Visual Studio instance. Reinstalling Visual Studio + repairing after this over the VS-installer solved my problem

like image 114
Grundadrakk Avatar answered Oct 20 '22 23:10

Grundadrakk