Localhost stop resolving after a few minutes IIS 7.5

asp.netiis-7.5localhost

I am running IIS 7.5 on my local machine (Windows 7 Home Premium) and localhost works for about three requests and then stops taking requests. The strange thing is when I switch to calling it with 127.0.0.1, I can access the page again but then the same thing happens. Then I switch to my local IP 192.168.1.X and it works again but then the same thing.

I've tried to recycle the app pool to see if the app was hanging but I am not getting any luck with that. I have also killed the process and tried to restart IIS. The only thing the pseudo-works is restarting but then it's the same behavior described above.

I have checked the failed request logs and see no record of errors. Is there somewhere I can look to get more information?

I was working on Windows Ultimate and it was working well, but that machine died last weekend. Waiting for the new machine to come in.

At this point I am baffled and considering a career change, I think pizza maker (just kidding).

Best Answer

It sounds like something could be binding to the port. Trying using netstat to see what is listening on port 80.

The following command will list each listening process, the port and the process ID. You can then use the process ID to determine the what is using that port.

netstat -an -o |find /i "listening"