Can't connect to the server's mongdb database!

ip and port are OK on the server!
clipboard.png

clipboard.png

bind_ip 0.0.0.0

clipboard.png



ip

clipboard.png

ask the boss to have a look. No, no, no. It"s okay to pay for an answer!

Feb.28,2021

the easiest way to test is to turn off the firewall [iptabels] and try again.

if off, you can connect to the firewall that indicates that the server is on, then expose 27107 to the external network.


you should try to see if the client can connect with mongo on the server.

if you can connect, it means that the external network of your port 27017 is inaccessible. 27017 port is not added by default in the Aliyun security group, and the public network cannot be accessed

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdc173-5296c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdc173-5296c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?