1 Reply Latest reply on Dec 3, 2015 9:40 AM by jaysensharma

    Jsp site + jBoss run only in localhost "connection refused"from remote.



      i have a JSP website running in JBoss.

      The site was working perfectly until yesterday when an automatic java update has installed on my windows server.

      After that the site run only in localhost:8080 and i can't see the site from remote ( connection refused error).

      I've search on the web ( changing the standalone.xml didn't work). What can i do to restore the website?

      If you need further information just tell me.


        • 1. Re: Jsp site + jBoss run only in localhost "connection refused"from remote.

          How are you starting your server?


          ./standaone.sh  -b


          Assuming that "" 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-/
          INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-/




          If you are able to see the IP Address in the above lines (or the address) then from the remote machine are you able to telnet your JBoss IP Address and Port like following?


          telnet  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.