I can’t connect from the outside to the mongo-express

Question:

I am using the mongo-express.

Installed on AWS EC2, it was started.

However, it is not possible to connect from the browser to port 8081.

I can download the index.html of the mongo-express using wget command on ec2.

By the way, port 8081 in the security group of ec2 is open to my IP.

Answer:

The following settings of config.js is, was the cause

The value of the host is changed to “0.0.0.0”, now to be able to connect from browser to the mongo-express.

Leave a Reply