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

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

问题描述

我以前用过 vs2010 和 webmatrix.但是,我最近在尝试使用 apache.所以我的 IIS express 使用端口 80,而 apache 使用端口 8080.我打算反过来.让apache使用port80,IIS使用8080.在 IIS 不再侦听端口 80 之前,我不能让 apache 侦听端口 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天全站免登陆