I am working for several weeks to connect to a MongoDB inside of my organization. I downloaded MongoDB Compass. I received the error message: connect ECONNREFUSED IP Address of the Server:27017. I attached the image with the connection. I tried with the IP address number, with the server name and I am still having problems connecting to the server. I am not the MongoDB admin in my organization. The admin gave me all the connection details to create the connection string. Any ideas or suggestions?
As you have one, talk to your admin and troubleshoot with them.
The connection is being refused, quite likely a firewall issue.
The problem was a configuration file. MongoDB is used with the application and the admin changed the configuration file that allows the remote connection.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.