1 Reply Latest reply on Jul 26, 2007 8:02 PM by markstrecker

    not able to access the servlet using IP address of the machi

    venuwin

      Hi,

      I am running a servlet deployed on JBoss running on 8080.

      I am able to access the servlet on my local machine using http://localhost:8080/myapp

      But the moment I try to connect to the servlet using http://192.168.157.17:8080/myapp, i get network error.

      Tried adding the IP map to the localhost by modifying the hosts file at WINDOWS/system32/drivers/etc , but no use.

      Can anyone help ?

      Thanks in advance,

      Venugopal


        • 1. Re: not able to access the servlet using IP address of the m
          markstrecker

          I assume you are using JBoss 4.2. They changed the default security to bind to 127.0.0.1(localhost) and it used to be global 0.0.0.0. You can get this same behavior by starting JBoss with -b 0.0.0.0. If you look in the readme.html in your JBoss distribution there is a link with info on how to secure JBoss once you bind to 0.0.0.0.