how do I change IIS express 8 port 80 to 8080

2019-03-18 07:50发布

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

3条回答
可以哭但决不认输i
2楼-- · 2019-03-18 07:58

IIS 8.1

  1. Select “Default Web Site” from the left tree in IIS manager.
  2. Click Bindings from the right sidebar to open a dialog box.
  3. Select “http” record from the grid and hit Edit.
  4. Enter your choice of port number in “Port” Text box and hit OK.
查看更多
等我变得足够好
3楼-- · 2019-03-18 08:06

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.

查看更多
我命由我不由天
4楼-- · 2019-03-18 08:22

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

查看更多
登录 后发表回答