Retrieves the resolved port on which the server is running.
The currently configured port number for the server.