code: public ServerSocket createServerSocket(int port, int backlog,
                                             InetAddress bindAddr)
          throws IOException {
          if (this.portRange.isEnabled() && port == 0) {
              return createServerSocket(backlog, bindAddr);
          } else {
              return new ServerSocket(port, backlog, bindAddr);
          }
      }
docs: Create a server with the specified port, listen backlog, and
  local IP address to bind to.  The <i>bindAddr</i> argument
  can be used on a multi-homed host for a ServerSocket that
  will only accept connect requests to one of its addresses.
  If <i>bindAddr</i> is null, it will default accepting
  connections on any/all local addresses.
  The port must be between 0 and 65535, inclusive.
  
  @param port the local TCP port
  @param backlog the listen backlog
  @param bindAddr the local InetAddress the server will bind to
  @exception  IOException  if an I/O error occurs when opening the socket.