I had a working ASP.NET application running on automatically generated port like 53000. After move to another port (8080 in my case) IIS Express started responding 503 Service Unavailable
. Other ports did work.
Internet is full of tips for what to check and how to debug this, while in most cases tips are relevant for IIS or access from remote machine. Nevertheless I've tried:
- Reviewing
%userprofile%\Documents\IISExpress\config\applicationhost.config
- Giving permissions with
netsh http add urlacl url=http://mymachinename:50333/ user=everyone
- Test of the same application on different machine with port 8080 - did work
- Ran another server (mongoose) on port 8080 - did work
- Verified that the port is listened to with
netstat
- no problem
I haven't checked the firewall and folder permissions, since application is served from other ports.