windows下可以用netstat -aon查看哪些端口打开了
试了半天不行,最后发现:
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:5}"> <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:19999}"/> <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:19909}"/> <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:19443}"/> <socket-binding name="ajp" port="18009"/> <socket-binding name="http" port="18888"/>
jboss.socket.binding.port-offset:5 http是18888,那么实际端口是+5,也就是18893,靠,气死我了,折腾半天
|