We are unable to connect the same on the destination server through powershell. We are getting connected to DB & immediately getting disconnected within a second.
Looks like you’re not getting connected. The connection is hanging then you hit the 2-second timeout you set in the connection string. Probably your mongod instance is configured incorrectly and isn’t servicing the loopback interface.
Check log files to get error