mongodb cannot connect to remote server

I have a server on Digital Ocean running a MongoDB instance, if I ssh into the server, I can connect to the Mongo Shell...

mongodb cannot connect to remote server

I have a server on Digital Ocean running a MongoDB instance, if I ssh into the server, I can connect to the Mongo Shell with no problem. When I ..., I have figured out the issue. Everything was setup correctly. I just needed to allow port 27017 on amazon instance too.

相關軟體 MongoDB 資訊

MongoDB
MongoDB 是一個免費且開放源碼的跨平檯面向文檔的數據庫程序。分類為 NoSQL 數據庫程序,MongoDB 使用類似 JSON 的文檔與模式。它為使用 MongoDB 包括數據庫開發人員和 DBA 的任何人提供了豐富的 GUI 工具。主要功能包括:全功能嵌入 MongoDB Shell,用戶友好的 Map-Reduce 操作編輯器,創建 / 刪除數據庫,管理集合及其索引的能力,用戶友好的 G... MongoDB 軟體介紹

mongodb cannot connect to remote server 相關參考資料
Can't connect to MongoDB remote server - Stack Overflow

I came up with a solution for this, but I'm unclear why it works and not my original approach. My instance has http/https enabled. This uses the ...

https://stackoverflow.com

Can't connect to mongodb remotely - Stack Overflow

I have a server on Digital Ocean running a MongoDB instance, if I ssh into the server, I can connect to the Mongo Shell with no problem. When I ...

https://stackoverflow.com

cannot access MongoDB on remote server - Stack Overflow

I have figured out the issue. Everything was setup correctly. I just needed to allow port 27017 on amazon instance too.

https://stackoverflow.com

linux - Cannot connect to remote mongodb server - Stack Overflow

Disable your firewall and try to see if you can connect, if you can then it's your fw rules. Try this first to see if this helps.

https://stackoverflow.com

linux - Failing to connect to remote mongodb server - Stack Overflow

Firstly, To ensure its not a firewall issue, stop IPTABLES on both servers (don't forget to re-enable afterwards). On the machine that you are ...

https://stackoverflow.com

mongodb - Mongo can't connect to remote instance - Stack Overflow

I installed mongodb on remote server via vagrant. I can access postgres from my local system but mongo is not available. When I login via ssh ...

https://stackoverflow.com

mongodb - Unable to connect to mongo on remote server - Stack Overflow

make sure that mongodb daemon is running, and listening on 0.0.0.0, but not 127.0.0.1 port. for example, for my local mongodb, it has this ...

https://stackoverflow.com

MongoDB – Allow remote access – Mkyong.com

P.S By default, MongoDB doesn't allow remote connections. ... 1.1 To allow LAN connections from Application Server. Since both are in the ...

https://www.mkyong.com

networking - Getting MongoDB on Linux to listen to remote ...

Check DNS settings and check that linux server allows external connections. Check that mongodb can accept external/remote connection. .... looks like below (localhost binding by default doesn't a...

https://stackoverflow.com

Problems with remote connection to my mongodb server | DigitalOcean

Problems with remote connection to my mongodb server. July 7, 2017 15.5k views .... Everything seems kosher with the firewall, but I still can't connect.

https://www.digitalocean.com