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

curl exec failed 'Couldn't connect to server' #117

Open
cnjackven opened this issue Mar 12, 2018 · 7 comments
Open

curl exec failed 'Couldn't connect to server' #117

cnjackven opened this issue Mar 12, 2018 · 7 comments

Comments

@cnjackven
Copy link

curl exec failed 'Couldn't connect to server'
鸟哥 Yar Client 调用server的方法就出现这个错误提示,求指导

@hgkmail
Copy link

hgkmail commented Jun 24, 2018

我使用PHP built in server时一直出现这种错误,改用Apache或者NGINX就不会,估计PHP built in server功能不太完善。

@hgkmail
Copy link

hgkmail commented Jun 24, 2018

@eancoder

@laruence
Copy link
Owner

你可以试试直接用IP能不能连上, 有的时候也可能是DNS的问题

@blanklin030
Copy link

我也遇到这个问题了,yar server正常访问

但是yar-client连接就提示:
Uploading image.png…

@cnjackven
Copy link
Author

IP链接我也试过也是一样

@erouss
Copy link

erouss commented Sep 10, 2020

我本地部署server 然后本地client就会报curl exec failed 'Couldn't connect to server 大家有解决的吗 难道不能curl本地的域名吗

@tanliang
Copy link

curl 无法访问 127.0.0.1 地址,hosts 里面把对应指向 192.168.x.x 的IP 即可

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

6 participants