cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Curl error 7 while accessing a subdomain

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 15 Nov 2008 19:48:24 +0100 (CET)

On Sat, 15 Nov 2008, adeel shahid wrote:

> also, if you can kindly display the error message so I can get a little bit
> better idea to debug the problem.

Error 7 means that the TCP connect failed. It means that libcurl failed to
connect to the given port of the given host name.

Many hosting companies don't allow connections "back" to your own host from
your own PHP programs so perhaps that's what's happening here.

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-11-15