简体   繁体   English

如何将IIS express 8端口80更改为8080

[英]how do I change IIS express 8 port 80 to 8080

I used to use vs2010 and webmatrix. 我以前使用vs2010和webmatrix。 However,I'm trying to use apache lately. 但是,我最近试图使用apache。 So my IIS express is using port 80 and apache is using port 8080. I intend to have it the other way around. 所以我的IIS快递使用端口80,而apache正在使用端口8080.我打算反过来使用它。 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? 让apache使用port80和IIS使用8080.我不能让apache监听端口80,直到IIS不再监听端口80.我应该如何配置IIS express的端口?

ps.I'm using win7 with one ip adress 我正在使用带有一个ip地址的win7

Try this 试试这个

To configure the default IIS website to use port 8080 配置默认IIS网站以使用端口8080

On the Windows desktop, click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager. 在Windows桌面上,单击“开始”,单击“管理工具”,然后单击“Internet信息服务(IIS)管理器”。

In Internet Information Services (IIS) Manager, in the Connections pane, expand the computer name, expand Sites, and then click Default Web Site. 在“Internet信息服务(IIS)管理器”的“连接”窗格中,展开计算机名称,展开“站点”,然后单击“默认网站”。

In the Actions pane, under Edit Site, click Bindings. 在“操作”窗格中的“编辑站点”下,单击“绑定”。

In the Site Bindings dialog box, click the http entry, and then click Edit. 在“站点绑定”对话框中,单击http条目,然后单击“编辑”。

In the Edit Site Binding dialog box, in Port, type 8080, and then click OK. 在“编辑站点绑定”对话框的“端口”中,键入8080,然后单击“确定”。

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 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 源 - 如何更改IIS服务的端口

IIS 8.1 IIS 8.1

  1. Select “Default Web Site” from the left tree in IIS manager. 从IIS管理器的左侧树中选择“默认网站”。
  2. Click Bindings from the right sidebar to open a dialog box. 单击右侧边栏中的“绑定”以打开对话框。
  3. Select “http” record from the grid and hit Edit. 从网格中选择“http”记录,然后单击“编辑”。
  4. Enter your choice of port number in “Port” Text box and hit OK. 在“端口”文本框中输入您选择的端口号,然后单击“确定”。

How to change IIS port in windows Posted on November 21, 2017 by Suresh Kamrushi in Windows [Like] +2 [Unlike] 0 Thanks for your vote. 如何在Windows中更改IIS端口发布于2017年11月21日由Windows中的Suresh Kamrushi [赞] +2 [不同] 0感谢您的投票。

Showing here, how you can update IIS server port number in windows 10/8 system. 在此处显示如何在Windows 10/8系统中更新IIS服务器端口号。 There may be several reason you want to change the port but for me its WAMP, I am using it for PHP projects. 您可能有几个原因需要更改端口,但对我来说它是WAMP,我将它用于PHP项目。 IIS and WAMP use same port which make trouble developing. IIS和WAMP使用相同的端口来制造麻烦。 So I updated IIS port. 所以我更新了IIS端口。 You can also update the WAMP port, referring to my blog Follow the below steps to update IIS server port number: 您还可以更新WAMP端口,参考我的博客按照以下步骤更新IIS服务器端口号:

  1. Go start and type IIS 开始并键入IIS
  2. IIS Manager will open. IIS管理器将打开。 click on “Default Web Site” on left hand side. 单击左侧的“默认网站”。
  3. click on “bindings…” from the right side action section. 单击右侧操作部分中的“绑定...”。
  4. Popup will open with 80 port listed. 弹出窗口将打开80端口。 select it and click the edit button. 选择它并单击编辑按钮。
  5. Update the port and restart the server. 更新端口并重新启动服务器。

source : http://sforsuresh.in/change-iis-port-windows/ 来源: http//sforsuresh.in/change-iis-port-windows/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM