D
D
Drum Kit2015-07-28 08:18:22
PHP
Drum Kit, 2015-07-28 08:18:22

Curl can't connect to server how to fix?

Cheers to everyone!!
I faced such a problem, my curl gives an error
curl can't connect to host
I have some thoughts from what it could be the same code works on a test server.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valery Ryaboshapko, 2015-07-28
@arayik

Can't connect to host - I can not connect to the host. The server is not running on the host, it is running on the wrong port, the connection is blocked by a firewall, the address is incorrect (if the call is via IP), or the host is tritely turned off.
DNS issues show up as can't resolve host name.

V
Vladimir Martyanov, 2015-07-28
@vilgeforce

This may be from Curl's bug. Do you offer guessing WITHOUT a code?

A
Alexander N++, 2015-07-28
@sanchezzzhak

try to register DNS on the server manually, then restart puff.
also try increasing the connection timeout.
studio code...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question