Property Port NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll Port Gets the server's port number. public int Port { get; } Property Value int