port

public final Optional<Integer> port()

Obtains the port of the connection, or empty Optional for in-process connection.

See also