Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I change IIS express 8 port 80 to 8080

Tags:

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

like image 214
user2869934 Avatar asked Oct 11 '13 07:10

user2869934


People also ask

How do I change the port number for IIS Express?

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.

How do I change the default port for 80 in IIS?

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.

How do I disable port 80 in IIS?

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.


2 Answers

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.

like image 154
Pramesh Avatar answered Oct 14 '22 21:10

Pramesh


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

like image 43
Rohit Suthar Avatar answered Oct 14 '22 19:10

Rohit Suthar