(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerChangedEvent::getPort — Returns the port on which this server is listening
Questa funzione non contiene parametri.
Returns the port on which this server is listening.