Get the port.
@param defaultPort The default port to return if no port set @return the port
See Implementation
Get the port.
@param defaultPort The default port to return if no port set @return the port