MongoDB\Driver\ServerDescription::getPort — Returns the port on which this server is listening
Returns the port on which this server is listening.
This function has no parameters.