ce97
作者ce97·2015-03-26 19:37
软件开发工程师·某某某

websphere 端口修改

字数 816阅读 1018评论 0赞 0

部署到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

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广