Help Center> Document Database Service> Getting Started> Getting Started with Replica Sets> Connecting to a Replica Set Instance Over Public Networks