有两个方法
1
{WAS-Profile-Path}\logs\AboutThisProfile.txt2
<WAS_HOME>/profiles/<PROFILE_NAME>/config/cells/<CELL_NAME>/nodes/<NODE_NAME>/serverindex.xml And look for WC_adminhost_secure or WC_adminhost.
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostNode01Cell/nodes/localhostNode01/serverindex.xml
<specialEndpoints xmi:id="NamedEndPoint_1183122129646" endPointName="WC_adminhost">
<endPoint xmi:id="EndPoint_1183122129646" host="*" port="9060"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_1183122129649" endPointName="WC_adminhost_secure">
<endPoint xmi:id="EndPoint_1183122129649" host="*" port="9043"/>
</specialEndpoints>
应用程序端口:
look for the port number in WAS configuration. What you're looking for is WC_defaulthost for http and WC_defaulthost_secure for https.
比如在
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostNode01Cell/nodes/localhostNode01/serverindex.xml
<specialEndpoints xmi:id="NamedEndPoint_1183122129647" endPointName="WC_defaulthost">
<endPoint xmi:id="EndPoint_1183122129647" host="*" port="9080"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_1183122129650" endPointName="WC_defaulthost_secure">
<endPoint xmi:id="EndPoint_1183122129650" host="*" port="9443"/>
</specialEndpoints>