5 Replies Latest reply on May 4, 2009 9:24 AM by lance byrd

    -Djboss.bind.address not working anymore (4.2.2)?

    Eric H Novice

      I know that the -b 192.168.1.1 argument works fine, but -Djboss.bind.address=192.168.1.1 should work just the same way. But it doesn't seem to have any effect. I looked at org.jboss.Main, in the process arguments function, it says:

      // JBAS-4119, bind to localhost by default, instead of all NICs ("0.0.0.0")
       props.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");
       System.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");
      


      which looks to me like it will nuke whatever happens to be in the jboss.bind.address value, which matches the behavior I am seeing.

      Is this right?