Skip to content
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

Redis服务器版本:Connection refused #596

Closed
iYting opened this issue Jul 5, 2024 · 2 comments
Closed

Redis服务器版本:Connection refused #596

iYting opened this issue Jul 5, 2024 · 2 comments

Comments

@iYting
Copy link

iYting commented Jul 5, 2024

一个很诡异的问题。redis无法连接,所有容器用的都是同一个网络,在容器内能互相ping通 ,但是index.php 代码里无法连接

@jeeinn
Copy link
Contributor

jeeinn commented Jul 5, 2024

php 连接配置 要用容器名称连接

@iYting iYting closed this as completed Jul 8, 2024
@humengcn
Copy link

@iYting 出现了同样的问题,容器之间可以 ping 通,但是在 php 容器内连不上 redis,提示:Connection refused

微信截图_20240822182502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants