I have a droplet server with an instance of mongodb on it. I can connect via SSH and view mongodb, however I really want to connect it to compass. However I keep getting ‘connect ECONNREFUSED’ error.
I’ve tried combinations of using localhost, my ip, different ports (as per what I’ve found via ssh) but still same error. If I try my ip:3000 interestingly it does attempt to connect but then I get an ‘invalid max size’ error or something like that.
I checked another ticket and also tried accessing in Compass using SSH tunnel but same ECONNREFUSED. What else can I check to get this fixed?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!