2 Replies Latest reply on Jan 25, 2005 8:02 AM by raja05

    localhost to IP change :)

    zer0n3

      Greetings guys,

      I am trying to alter a JBoss install to replace the 'localhost' with an IP address. This is the first step for me to make a dual instance of JBoss on a single server with two IP address.

      So which file(s) do I need to modify to change http://localhost:80 to http://100.20.101.240:80?

      (No DNS name resolution or FQDN)

      Thanks guys :)

      -Z

        • 1. Re: localhost to IP change :)
          zer0n3

          I forgot to mention that I have hacked and slashed all the xml configuration files where "localhost:port" have been listed with a "static IP:port" but the application still only launches via the "localhost:port".

          I am new to JBoss/Tomcat but I sure its a simple fix, it just eludes me.

          • 2. Re: localhost to IP change :)
            raja05

            In jbossweb-tomcat50.sar/server.xml, look up the Connector element that you are using (HTTP/1.1 or AJP) and then change the address="${jboss.bind.address}" to whatever IP you want it to listen on. By default jboss.bind.address is 0.0.0.0 which listens to all incoming requests.