I have two server machine. One windows machine on which .Net application running and another Linux machine on which Mongo Db is configured.
.Net application on Windows machine access database on Linux. But there is some random error on connecting to Mongo Database. Error is random and goes after frequent retry.
**System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
on connecting/login**
Is this issue related to database or there is some configuration issue with MongoDb
I had an issue like this a couple of days ago... What I would try:
Hope it helps
User contributions licensed under CC BY-SA 3.0