Closed Top-CMS closed 1 year ago
Hi, I'm not really familiar with running Docker on Windows at all but this more sounds like an issue with your Docker networking configuration in general instead of something related to this container. Perhaps looking inside the guest can help you rule out some problems:
ip addr
to check if the IP address is indeed 172.17.0.2 in your situationnetstat -tulpn
to see if the ports of the webservers are actually boundIf that all looks good make sure you 'expose' these ports to your host: https://docs.docker.com/config/containers/container-networking/#published-ports. How that works on Windows where the containers run inside some kind of virtual machine I do not know, but I'm sure that's something you can find with some googling.
btw if you can SSH to localhost on port 1122 perhaps you have also forwarded the other ports to localhost?
Hi,
Successful installed the docker (docker.hypernode.com/byteinternet/hypernode-buster-docker-php74-mysql57:latest). But I have some problems with connections:
Or as the root user
ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null root@172.17.0.2`
I can login with:
ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null root@localhost -p 1122
Also added to my windows hostfile 172.17.0.2 test.hypernode.local
How can I see the site in my browser?