This content has been marked as final.
Show 1 reply
-
1. Re: Jsp site + jBoss run only in localhost "connection refused"from remote.
jaysensharma Dec 3, 2015 9:40 AM (in response to vigamarco89)How are you starting your server?
./standaone.sh -b 10.10.10.10
Assuming that "10.10.10.10" is your Windows Box IP Address. By default the JBoss will start on "localhost" address.
In your server.log what Address do you see in the following lines:
INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080
If you are able to see the IP Address in the above lines (or the 0.0.0.0 address) then from the remote machine are you able to telnet your JBoss IP Address and Port like following?
telnet 10.10.10.10 8080
If the telnet does not connect then either your server is not running on the specified IP Address or there is a Firewall restriction which is causing the client to not to be able to connect to the JBoss remotely.