In the process of learning docker and following some tutorials on youtube. I’ve installed docker toolbox on my PC (Docker Desktop failed to install as says I need pro version).
I’ve installed 2 containers from docker hub, mongo and mongo express. They are running in the same docker network and I also used the -p option in the docker run command to set the local port and container port. I should be able to browse to the mongo express via url http://localhost:8081 - but I’m getting connection refused.
Docker logs shows:
Mongo Express server listening at http://0.0.0.0:8081
Server is open to allow connections from anyone (0.0.0.0)
basicAuth credentials are “admin:pass”, it is recommended you change this in your config.js!
Admin Database connected
I’ve run port query on my windows machine and it’s saying port 8081 is not listening.
Can anyone help?