New Aliyun CES Server
Install package through LINUX one-click web environment
sh1.5.5Nginx server set up;
linux-x86_64-rhel70-3.4.9(Because there is no mongodb installation package for centos), only one has been inserted into my database.
After successful configuration
mongod -f /mongodb/etc/mongo.confYou can successfully start the database and create a second shell window.
mongoYou can successfully connect to the database, and you can perform mongodb operations (such as show dbs, etc.) and create a new third shell window for execution.
node bin/wwwIt will show
MongoDB connected success, feel everything is no problem.
However, when entering in the browser
ip:27017It shows that you cannot access this website and MongoHub cannot connect to the database.
I’ve been working on it for a long time, but I haven’t solved the problem. The great gods help me analyze it. What problems will lead to this kind of problem? Thank you!
Aliyun’s security team blocked some ports by default. Try opening them