我有一个Windows Server 2008的机器,目前正在运行Apache面向公众的PHP站点(端口80)。 IIS停止。
我现在需要开始运行与Apache相同的IP地址上的IIS,但我可以愉快地使用另一个端口,因为它只是内部的,例如8080.我们没有其他的IP地址可用。
我认为它可以完成,但我是新来的Apache,并需要确保我不打破当前的PHP网站启动IIS时。 我知道IIS默认情况下会阻止IP上的所有端口? 或者自IIS 6以来有所改变?
我需要采取哪些configuration步骤来实现这一目标?
非常感谢,Tim
IIS7的步骤包括:
Microsoft Internet信息服务7.0:
1. Open Internet Information Services (IIS) Manager. 2. Select the Web site that you wish to configure. 3. In the Action pane, click Bindings. 4. Click Add to add a new site binding, or click Edit to change an existing binding. 5. Click OK to apply the changes.
从如何更改IIS服务的TCP端口
或者你可以尝试这个Apache的: 绑定到地址和端口
短版本修改listen线:
收听
<ipaddress>:<port>