如何将IIS Express 8端口80更改为8080 [英] how do I change IIS express 8 port 80 to 8080

查看:202
本文介绍了如何将IIS Express 8端口80更改为8080的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经使用过vs2010和webmatrix.但是,我最近正在尝试使用apache. 所以我的IIS Express使用端口80,而apache使用端口8080. 我打算反过来.让apache使用port80,而IIS使用8080. 我无法让apache监听端口80,直到IIS不再监听端口80. 我应该如何配置IIS Express的端口?

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.我正在使用带有一个IP地址的win7

ps.I'm using win7 with one ip adress

推荐答案

尝试一下

要将默认的IIS网站配置为使用端口8080

To configure the default IIS website to use port 8080

在Windows桌面上,单击开始",单击管理工具",然后单击"Internet信息服务(IIS)管理器".

On the Windows desktop, click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

在Internet信息服务(IIS)管理器的连接"窗格中,展开计算机名称,展开站点",然后单击默认网站".

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.

在网站绑定"对话框中,单击"http"条目,然后单击编辑".

In the Site Bindings dialog box, click the http entry, and then click Edit.

在编辑站点绑定"对话框的端口"中,键入8080,然后单击确定".

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.

这篇关于如何将IIS Express 8端口80更改为8080的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆