最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

node.js - Mongodb compass saying Server selection timed out after 30000 ms despite Network access ip inserted - Stack Overflow

programmeradmin6浏览0评论

I'm trying to connect to Mongodb from my compass on my pc, yet each time i get

Server selection timed out after 30000 ms

There was a problem connecting to myApp

I tried it on another pc and it worked... I used the same network provider and it work yet didn't work on my pc, pls help. I've tried 0.0.0.0/0 (includes your current IP address) and I've even used my current ip in network access on mongodb cloud, same thing... I just need it working on my current pc.

I've even unninstalled and re-installed the compass fully on my mac, same thing. Please help.

I've tried all. Everything else going through except mongodb stuff on my compass. The web is going tho.

After changing ports to google dns and Cloudflare dns i got

1168240824256:error:10000438:SSL

routines:OPENSSL_internal:TLSV1_ALERT_INTERNAL_ERROR:../../third_party/boringssl/src/ssl/tls_record:592:SSL alert number 80

I'm trying to connect to Mongodb from my compass on my pc, yet each time i get

Server selection timed out after 30000 ms

There was a problem connecting to myApp

I tried it on another pc and it worked... I used the same network provider and it work yet didn't work on my pc, pls help. I've tried 0.0.0.0/0 (includes your current IP address) and I've even used my current ip in network access on mongodb cloud, same thing... I just need it working on my current pc.

I've even unninstalled and re-installed the compass fully on my mac, same thing. Please help.

I've tried all. Everything else going through except mongodb stuff on my compass. The web is going tho.

After changing ports to google dns and Cloudflare dns i got

1168240824256:error:10000438:SSL

routines:OPENSSL_internal:TLSV1_ALERT_INTERNAL_ERROR:../../third_party/boringssl/src/ssl/tls_record:592:SSL alert number 80

Share Improve this question edited yesterday flochristos asked yesterday flochristosflochristos 734 silver badges15 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If Compass works fine on another computer but not on your Mac, something specific to your machine is likely causing the issue!! Try pinging the Mongo server to see if its reachable first. If no reply then its obvious that theres a network issue or a firewall perhaps is blocking your attempt! Try telnet as well. I would try disabling the firewall and make a new attempt as well as any other app running on your tray that has to do with protection or blocking anything. A wise thought is to clean your Mac's dns as well.

sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder

This command should clean properly your DNS

If problem insists try using mongosh to connect to your database. lemme know how this goes. Good luck

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论