websphere 端口修改

部署到websphere上的项目默认的端口号9080,要改为其他的端口号的话只要修改以下两个文件即可:



文件一:


WebSphere/AppServer/profiles/AppSrv01/config/cells/sunNode01Cell/nodes/sunNode01/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/sunNode01Cell/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

猜你喜欢

转载自lyl-zsu.iteye.com/blog/1756434
今日推荐