Null Head
Null Head

Reputation: 2941

How to use domain name instead of localhost in IIS Express

I am developing an ASP.Net MVC 4 website on VS 2012 which runs on IIS Express. While running my website locally, I would like to see data.xyz.com instead of localhost/Data in the browser address bar.
I have followed few other questions on SO, mainly this one. But when I run the project, it says Unable to launch the IIS Express Web server.Port '80' is in use.

So for time being, I am using port 8080 to get it to work, which I dont want to. How do I fix this?

Update: More info:
netstat data on port 80

TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
TCP    [::]:80                [::]:0                 LISTENING

Can not obtain ownership information for either of the processes.

Upvotes: 0

Views: 4113

Answers (2)

Null Head
Null Head

Reputation: 2941

It was SSRS which was listening on port 80. Had to turn off that process to run my app on port 80.

Upvotes: 1

outcoldman
outcoldman

Reputation: 11832

You should find who is using port 80, I guess you also have full IIS installed? Try to just open http://localhost:80 and see who will respond on this request.

Upvotes: 0

Related Questions