docker-magento2
docker-magento2 copied to clipboard
no access through localhost
I did install everything, it seems to be working fine, except, when I type http://localhost I get nothing.
This site can’t be reachedlocalhost refused to connect. Try:
Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED
+1
+1
OK docker ps gives
PORTS NAMES
0.0.0.0:51757->80/tcp meanbee_varnish_1
443/tcp, 0.0.0.0:51756->80/tcp meanbee_web_1
0.0.0.0:51755->9000/tcp meanbee_fpm_1
0.0.0.0:51750->3306/tcp meanbee_db_1
I think this is because in the sample docker-compose.yml the ports are given as:
ports:
- 80
Not
- '80:80'
So docker seems to choose a random port on the host
Now FPM is refusing to launch with root as the user but that is a different issue...