|
|
 |
Re: FN-FORUM: php fsockopen issue
date posted 2nd August 2007 14:54
Hi Paolo,
Never tried fsockopen myself, but any luck if you increase timeout limit?
Im using "curl" (http://uk2.php.net/curl) to pass and get data from
other server.
Is server B managed by someone else? Might be an issue of blocking
traffic from server A to B.
Jay
On 2 Aug 2007 13:47:27 -0000, Paolo Ciarrocca [EMAIL REMOVED] wrote:
>
> Hi all,
>
> I am having some headaches with the fsockopen PHP function.
>
> basically a page on a website hosted on server A calls a function that
> uses fsockopen to pass data to server B.
> until yesterday evening it all worked fine.
> now it always gives me error 110, connection timed out.
>
> I used the exact same code on a website hosted on C to connect to
> server B, and it all works well.
>
> I tried to pass data to a different server D from the original website
> hosted on A. and it works.
> I then tried to to connect to server B from another website hosted on
> A and I get the same error message.
>
> So all of a sudden any attempt to open a socket connection between
> webserver A and server B fails with a connection timed out error.
>
> For the time being I am using a different method to get the same
> results, so the issue is not mission critical, however I would really
> like to get the bottom of this.
>
> Any ideas or suggestions?
>
> Thanks
> Paolo.
>
> ---
> www.sherred.com
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|