Project

General

Profile

Curl timeout with localhost url

Added by Diamo over 15 years ago

I have a problem with lighttpd
When I use Curl http://localhost address times out, no problem with external URLs.
What can I do?
LightTPD/1.4.23-1 (Win32)
http://paste.lighttpd.net/761


Replies (3)

RE: Curl timeout with localhost url - Added by nitrox over 15 years ago

Make sure it actually bound to localhost "netstat -al | grep www", also make sure it is using ipv4, start simple with "ping localhost", if that works "telnet localhost 80", and if that works "curl -Iv http://localhost".

RE: Curl timeout with localhost url - Added by Diamo over 15 years ago

localhost is okay
curl -Iv:
http://paste.lighttpd.net/762

curl error:
cURL error 28: Operation timed out after 2000 milliseconds with 0 bytes received

no problem with Apache.

The problem is not in all URLs with localhost but only a few.

RE: Curl timeout with localhost url - Added by nitrox over 15 years ago

We do not support windows, and as that i can´t tell you whats wrong with your setup. Please ask in the chan or forum where you got this win32 build.

    (1-3/3)