(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPort — Returns the port on which this server is listening
This function has no parameters.
Returns the port on which this server is listening.