我的 docker container 数据如下 , 有开 3306 port
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
74a7e237c26a mysql "docker-entrypoint.s…" 4 hours ago Up 4 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql-test
在WSL2内部测试可以使用 127.0.0.1:3306 连结 MySQL
但在外面用 windows 10 gui 工具测试得到 Connection failed - 102(connection_refused)
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
设置mysql允许外网访问