rarahim Posted May 21, 2021 Posted May 21, 2021 Hi, I'm on Tommy ( username: rarahim ). I need to access MongoDB Atlas on port 27017. Currently it's throwing me these error messages. Error reading from database. radtech-shard-00-01.p4cyn.mongodb.net:27017: [Errno 111] Connection refused,radtech-shard-00-00.p4cyn.mongodb.net:27017: [Errno 111] Connection refused,radtech-shard-00-02.p4cyn.mongodb.net:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: ]> I'd like to request that port 27017 for ip adress 18.138.205.196 be opened. Thanks in advance! Quote
rarahim Posted May 21, 2021 Author Posted May 21, 2021 Thank you..... ...but.. my mongoDB databases exist on 3 nodes, radtech-shard-00-01.p4cyn.mongodb.net ( 18.138.205.196 ), radtech-shard-00-00.p4cyn.mongodb.net ( 54.255.46.254 ), radtech-shard-00-02.p4cyn.mongodb.net ( 52.74.75.34 ) and i only requested the port to be opened for the first ip. Which one will be used will be decided by Atlas. So could you please also open port 27017 for the other 2 ips ( 54.255.46.254 , 52.74.75.34 ). Sorry for not being more specific in my first request. Many thanks! Quote
Alex_Sen Posted August 12, 2021 Posted August 12, 2021 Hello, Im trying to solve the same issue. I can connect to Atlas Mongo from my App using pymongo but when using MongoEngine same machine and config the Atlas server response is Connection Refuse Error 111. Any help for clarify the issue? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.