Not able to connect Hostname :

when trying to connect mongoDB using below details , iam getting below error
please help
Hostname is
Username is m001-student.
Password is m001-mongodb-basics
An error occurred while loading navigation: ‘not master and slaveOk=false’: It is recommended to change your read preference in the connection dialog to Primary Preferred or Secondary Preferred or provide a replica set name for a full topology connection.

Wait says a ping to the hostname?