How to use client tools to manage the self-built mongodb database on Tencent Cloud host. The ports are blocked. What should I do?
世界只因有你
世界只因有你 2017-05-17 10:03:57
0
2
739

Buying their mongo database separately is very expensive. I just installed it on the cloud host and cannot access it from outside.

世界只因有你
世界只因有你

reply all(2)
左手右手慢动作

Open the corresponding ports in the security policy of iptables and cloud host

By the way, the IP bound to mongodb is set to 0.0.0.0

Be sure to set a password. Many people do not set a password or set a very weak password, which poses a huge security risk. Hackers will scan the entire network for mogodb ports, and many people have fallen victim to this. It has been reported in the news

So it is best not to enable external network access to the database. If you want to do distributed, it is best to only enable intranet access to the cloud host

Your application should access the database through the server program and provide external business APIs. Do not access the remote database directly from the client

给我你的怀抱

Just open the mongodb port so that it can be accessed by the outside world

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template