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

unable to establish connection tcp://127.0.0.1:6001: Connection refused (111) #35

Closed
jian-D opened this issue Mar 1, 2021 · 3 comments

Comments

@jian-D
Copy link

jian-D commented Mar 1, 2021

调用mongo时,报错
[WARNING] RemoteGoTask::__call failed, because unable to establish connection tcp://127.0.0.1:6001: Connection refused (111)
也不是端口的原因

@jian-D
Copy link
Author

jian-D commented Mar 2, 2021

我们在测试跟预发布两个环境都部署了,但是测试出现这个问题,预发布会报这个错

@Reasno
Copy link
Member

Reasno commented Mar 3, 2021

试试运行示例是否有问题:https://github.com/hyperf/gotask/blob/master/example/mongo_client/main.php

@jian-D
Copy link
Author

jian-D commented Mar 3, 2021

试试运行示例是否有问题:https://github.com/hyperf/gotask/blob/master/example/mongo_client/main.php

示例是可以的,解决了,tmp目录下文件权限问题

@jian-D jian-D closed this as completed Mar 3, 2021
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

2 participants