07-Deployed Server配置时更改IIS端口的方法


Depolyed Server要用到IIS服务(Internet Informaiton Service),IIS服务默认的端口号是80,但是如果80端口已被其他应用程序占用,那就需要在配置IIS服务时更改端口号,给IIS指定一个新的端口号。

一,在Win7,8下安装IIS的端口:
Win7,8下IIS服务的安装请参考如下文章:
https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/28812.selectserver

二,在Windows Server 2008中安装IIS的端口:
Windows Server 2008下IIS服务的安装请参考如下文章:
http://jingyan.baidu.com/article/fec4bce2398747f2618d8b88.html

三,更改IIS的端口,从默认的80改成2017:

通过控制面板Control Panel> Administrative Tools> Internet Information Services (IIS) Manager,打开Internet Information Services (IIS) Manager窗口。

展开左侧的Site> Default Web Site,选中Default Web Site后,点击右侧Edit Site下的Bingdings打开Site Bindings窗口,选中第一行后点击Edit按钮,打开Edit Site Binding窗口,在Port栏中将80改成2017,点击OK返回。


注意此处更改端口后,要在Site Bindings窗口中点击Browse按钮,检查是否打开IIS的主页如下图,正常显示后说明更改成功。