(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getPort — Returns the port on which this server is listening
Returns the port on which this server is listening.
У цієї функції немає параметрів.
Returns the port on which this server is listening.