-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Comments
我使用PHP built in server时一直出现这种错误,改用Apache或者NGINX就不会,估计PHP built in server功能不太完善。 |
@eancoder |
你可以试试直接用IP能不能连上, 有的时候也可能是DNS的问题 |
IP链接我也试过也是一样 |
我本地部署server 然后本地client就会报curl exec failed 'Couldn't connect to server 大家有解决的吗 难道不能curl本地的域名吗 |
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
curl exec failed 'Couldn't connect to server'
鸟哥 Yar Client 调用server的方法就出现这个错误提示,求指导
The text was updated successfully, but these errors were encountered: