您的位置:首页 > 理论基础 > 计算机网络

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

2012-09-04 00:41 831 查看




当我们在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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: