code: public ServerSocket newServerSocket(int port) {
      try {
        ServerSocket serverSocket = newServerSocket();
        serverSocket.setReuseAddress(DEFAULT_REUSE_ADDRESS);
        serverSocket.bind(newSocketAddress(port));
        return serverSocket;
      }
      catch (IOException cause) {
        throw newRuntimeException(cause, "Failed to create a ServerSocket on port [%d]", port);
      }
    }
docs: Constructs and configures a new {@link ServerSocket}.
  
  @param port {@link Integer} value indicating the port number to which the {@link ServerSocket} is bound
  listening for client connections.
  @return a new {@link ServerSocket}.
  @throws RuntimeException if the {@link ServerSocket} could not be created.
  @see java.net.ServerSocket