I used to use vs2010 and webmatrix. However,I'm trying to use apache lately. So my IIS express is using port 80 and apache is using port 8080. I intend to have it the other way around. Let apache use port80 and IIS use 8080. I couldn't let apache listen to port 80 until IIS no longer listen to port 80. How should I config IIS express's port?
ps.I'm using win7 with one ip adress
In Solution Explorer, right-click the name of the web application and select Properties. Click the Web tab. In the Servers section, under dropdown selection for IIS Express, change the port number in the Project URL box. To the right of the Project URL box, click Create Virtual Directory, and then click OK.
Double-click Internet Information Services (IIS) Manager. In the Internet Information Services dialog box, expand local computer ►Sites and right click Default Website and select Bindings. Select the http setting and click Edit. Change the port number to 80 and click OK.
In IIS, click your web site, then click Bindings and Remove the Port 80 entry, you must have the other entry for 443 before you can remove the one for Port 80.
Try this
To configure the default IIS website to use port 8080
On the Windows desktop, click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
In Internet Information Services (IIS) Manager, in the Connections pane, expand the computer name, expand Sites, and then click Default Web Site.
In the Actions pane, under Edit Site, click Bindings.
In the Site Bindings dialog box, click the http entry, and then click Edit.
In the Edit Site Binding dialog box, in Port, type 8080, and then click OK.
In the Site Bindings dialog box, click Close.
In the Actions pane, under Manage Web Site, click Stop, and then click Start.
Microsoft Internet Information Services 7.0
1. Open Internet Information Services (IIS) Manager. Select the Web.
2. site that you wish to configure. In the Action pane, click Bindings.
3. Click Add to add a new site binding, or click Edit to change an existing binding.
4. Click OK to apply the changes.
Source - How to change the port for IIS services
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With