当前位置: 代码迷 >> Web前端 >> websphere 批改 server 的http服务的端口号
  详细解决方案

websphere 批改 server 的http服务的端口号

热度:521   发布时间:2012-07-02 17:46:22.0
websphere 修改 server 的http服务的端口号

?

?

? 当我们在was 上建立 APPServer的时候,was 会帮助我们默认指定APPServer的 http服务的端口号和管理控制台的端口号,在建立概要文件的时候我们可以修改was默认分配给我们的端口号,可是如果我们是在后期APPServer 已经建立成功了在http 服务的端口号呢?

?

只需要修改两个地方:

?

Websphere 修改端口
2008-08-13 21:46

WebSphere/AppServer/profiles/AppSrv01/config/cells/zbNode01Cell/nodes/zbNode01/serverindex.xml
<specialEndpoints xmi:id="NamedEndPoint_1213602610369" endPointName="WC_defaulthost">
<endPoint xmi:id="EndPoint_1213602610369" host="*" port="9080"/>
</specialEndpoints>
把9080改成8080

WebSphere/AppServer/profiles/AppSrv01/config/cells/zbNode01Cell/virtualhosts.xml
<aliases xmi:id="HostAlias_1" hostname="*" port="9080"/>
<aliases xmi:id="HostAlias_2" hostname="*" port="80"/>
<aliases xmi:id="HostAlias_3" hostname="*" port="9443"/>
<aliases xmi:id="HostAlias_6" hostname="*" port="5060"/>
<aliases xmi:id="HostAlias_7" hostname="*" port="5061"/>
<aliases xmi:id="HostAlias_8" hostname="*" port="443"/>
把9080改成8080

  相关解决方案