-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker重启报Connection refused #242
Comments
检查数据库有没有起来,可以尝试重启数据库的容器 |
数据库正常,链接正常。我是在群晖docker部署的,好像没有caddy 2023/05/06 05:51:58.040 [34mINFO[0m http.log server running {"name": "srv0", "protocols": ["h1", "h2", "h3"]}2023/05/06 05:51:58.040 [34mINFO[0m tls cleaning storage unit {"description": "FileStorage:/root/.local/share/caddy"} |
这个问题必现我这边,docker重启就会出现。 |
我试了几遍(树莓派4b+, arm64)只能在启动数据库容器的那一小段时间能复现,等到数据库起来了就能正常连接。 不确定是群晖docker的问题(issues和discussions都有很多群晖用户提出了没法复现的问题),还是别的原因导致容器的端口实际上已经开放但还是拒绝建立连接。 可能需要检查容器里面的mariadb的log,但我不清楚怎么操作 |
行,这个报错是数据库问题,我再试一下连接别的数据库 |
多次尝试,在重新启动的瞬间,config.php会进行数据重置,从而导致连接失败。在启动的情况下修改该配置能正常访问 |
解决方案: |
问题描述
docker重启报Connection refused
后台日志提示
The text was updated successfully, but these errors were encountered: