3 Replies Latest reply on Jan 4, 2008 2:53 PM by peterj

    Unable to externaly access my JBoss 4.2.1

    jitorrents

      I am in a trouble with my JBoss Server, it seems to not responding requests from outcoming clients.

      I mean, when I acces the server by typing http://localhost:8080/Myapp it works correctly. But when I try to access my app this way http://server ip:8080/Myapp from another computer in the same netwok I get no response. I can't see nothing in the server logs. I have "sniffed" the net and there are requests and responses in my 8080 port, so the server seems to be aware of them. Any help would be great!

      PD: Could it be a user autentication problem?

      Sorry for my poor english;)

        • 1. Re: Unable to externaly access my JBoss 4.2.1
          clican

          You shall modify the deploy\jboss-web.deployer\server.xml.

          From

          <Connector port="8080" address="${jboss.bind.address}"
          maxThreads="250" maxHttpHeaderSize="8192"
          emptySessionPath="true" protocol="HTTP/1.1"
          enableLookups="false" redirectPort="8443" acceptCount="100"
          connectionTimeout="20000" disableUploadTimeout="true" />

          To

          <Connector port="8080" address="*"
          maxThreads="250" maxHttpHeaderSize="8192"
          emptySessionPath="true" protocol="HTTP/1.1"
          enableLookups="false" redirectPort="8443" acceptCount="100"
          connectionTimeout="20000" disableUploadTimeout="true" />

          • 2. Re: Unable to externaly access my JBoss 4.2.1
            jitorrents

            Thanks for yor quick response clican.
            I will test it this afternoon. Could you explain a little bit why I should make this change in server.xml, please? I wolud like to increase my JBoss knowledge.:P

            • 3. Re: Unable to externaly access my JBoss 4.2.1
              peterj

              Read the readme.html file, first bullet item under "JBossAS 4.2.0.GA" in the "Configuration Issues" section.