Database Reference
In-Depth Information
Also, you can see the address and port of each member in the
host
property. Our
primary
node's host is
mongod1.replicaset.com
, and the port number is
27017
.
In the next section, you will learn how to add other members to our replica set and man-
age other nodes from the
mongo
shell.