Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Express Debug Mode Issue

There is an issue when I debugging my backend net5.0 project. The issue is "Web server failed to listen on port 5001" then I changed port but the problem does not change.

enter image description here

like image 624
sametcekin Avatar asked Jul 21 '26 22:07

sametcekin


1 Answers

In my case that was

app.Run();

line deleted accidently from Program.cs

like image 171
Vladimir Zotov Avatar answered Jul 24 '26 10:07

Vladimir Zotov