Sets this's port to port.
port
If port is 0, this will not have an explicitly-specified port.
a URI
the port, or 0