0 Replies Latest reply on Jun 23, 2015 8:27 AM by Umesh Kudale

    How Jboss AS determines bind IP address, given hostname in standalone.xml

    Umesh Kudale Newbie

      I want to know how exactly Jboss determines which IP address it should bind to, given hostname in standalone.xml or as -b parameter. I am talking about specific case where host is having multiple network interfaces (NICs). I thought that it would pick-up the NIC with highest priority, but it doesn't seem to happen.

       

      I am assuming that Jboss must be calling some API or native method to get available network interfaces/IP addresses based on hostname. Please guide me where to look for this in source code or it would be good if you can provide specific block of code.

       

      I am talking about any version of Jboss starting from 7.2.0. Thanks in advance.