(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerOpeningEvent::getPort — Returns the port on which this server is listening
Diese Funktion besitzt keine Parameter.
Returns the port on which this server is listening.