1 Reply Latest reply on Sep 12, 2007 11:35 AM by Phil Barr

    Cannot View Tomcat From External URL ?

    Phil Barr Newbie

      Hi all,

      I'm having a problem that has got me absolutely stumped. I can start up JBoss (tried with 4.0.4 4.2.0 and 4.2.1) and all seems to be well, and I can access the server using:
      http://localhost:8080/
      However, I can't access it using my network ip:
      http://192.37.135.51:8080/
      ...I just get, "can't establish a connection".

      What's really strange is that if i shutdown jboss and start up tomcat, I CAN access http://192.37.135.51:8080/

      I don't even know where to start looking with this!

      Thanks for any help,

      Phil

        • 1. Re: Cannot View Tomcat From External URL ?
          Phil Barr Newbie

          Hope I get in here quick before anyone slams me for not reading the notes:
          ======================================
          Configuration Issues
          This lists the changes that could affect configuration.

          * JBossAS now binds its services to localhost (127.0.0.1) *by default*, instead of binding to all available interfaces (0.0.0.0). This was primarily done for security reasons because of concerns of users going to production without having secured their servers properly. To enable remote access by binding JBoss services to a particular interface, simply run jboss with the -b option, but be aware you still need to secure you server properly.
          ======================================
          So now i run with:
          run -b0.0.0.0

          ...instead of just double clicking run.bat

          And of course I'll worry about security at some point too.....

          Cheers,

          Phil