curl-and-php
RE: Curl error 7 while accessing a subdomain
Date: Sun, 16 Nov 2008 03:32:50 +0000
Problem solved. I applied the proxy which is used in the lan and now it is working.
As per the system admin, the proxy is used to access the internet from the lan and is not applicable in this case. But any way i just gave it a try and it worked. I hope the PHP script is treating this as an external URL or something..
I didn't quite understand why it is working. But thanks again for all the help.
Regards,
Rakhy
> Date: Sat, 15 Nov 2008 19:48:24 +0100
> From: daniel_at_haxx.se
> To: curl-and-php_at_cool.haxx.se
> Subject: Re: Curl error 7 while accessing a subdomain
>
> 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
_________________________________________________________________
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-11-16