I'm trying to load a project that uses port host header names. My host file has 127.0.0.1 mysite
I get the following error when attempting to load the project in VS2010.
The URL '
http://mysite
' for Web project 'Client.Web' is configured to use IIS Express as the web server but the URL is currently configured on the local IIS web server. To open this project, you must use IIS Manager to remove the bindings using this URL from the local IIS web server.
The issue is is that I'm not using IIS Express and the web site is configured to use IIS. I have a site created within iis to use host header names.
I have other web projects that are running as an application on port 81 ex http://mysite/MyService
, that do not cause this issue.
What can I do to get the project to run under port mysite root using IIS and still use VS2010?
The same thing happens if I just use a port number, ex: 127.0.0.0:81