(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getPort — Returns the port on which this server is listening
此函数没有参数。
Returns the port on which this server is listening.