cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl can't access localhost

From: Joel Verhagen <joel.verhagen_at_gmail.com>
Date: Tue, 21 Jul 2009 10:31:45 -0400

I'm trying to get curl to load a page on a local apache server (i.e. curl
http://localhost/test.php). the program hangs gives the following error:

"curl: (7) couldn't connect to host"

curl can access the main page of google just fine.

-- 
Joel Verhagen
http://www.wintallo.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-07-21