Description of the problem: After the jboss server is started normally, other clients cannot access it normally, and can only access it locally. The
reason is: the listening address of the jboss port is local, and the address can be changed to the following 0.0.0.0
<Connector port="8080" address="
${0.0.0.0}
"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout=" 20000" disableUploadTimeout="true" />
Also save the firewall start and stop commands:
(1) Permanent effect after restart:
open: chkconfig iptables on
Close: chkconfig iptables off
(2) Immediate effect, invalid after restart:
open: service iptables start
Shutdown: service iptables stop
Other addresses cannot be accessed after jboss is started
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326977583&siteId=291194637
Ranking