Re: Re: curl can't connect to my home server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 20, 2009 at 1:35 PM, Rene Veerman <rene7705@xxxxxxxxx> wrote:
> OOPS :)
>
> As a second test, i changed the test-url to
>
> http://82.170.249.144:81/mediaBeez/sn.php<http://82.170.249.144/mediaBeez/sn.php>
>
> On Tue, Jan 20, 2009 at 7:33 PM, Rene Veerman <rene7705@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> I've been stuck on this problem i'm having after i re-installed my linux
>> (debian) machine last month..
>>
>> I'm building a CMS with video import capabilities, but since it runs on
>> shared hosting i need to make a cURL POST call to a URL on my home machine,
>> which does video-conversion.
>>
>> This curl call has stopped working, curl_error() claiming "couldn't connect
>> to host".
>>
>> As a test, i'm simply calling up a url on my homeserver through curl.. The
>> url is http://82.170.249.144/mediaBeez/sn.php
>> The curl script is at http://veerman.ws/servagetest.php
>>
>> Any light you can shed on this is very greatly appreciated.
>> I'm kinda stuck at a huge brick wall here..
>>
>

$ curl -I http://82.170.249.144:81/mediaBeez/sn.php
HTTP/1.1 200 OK
Date: Tue, 20 Jan 2009 19:40:01 GMT
Server: Apache
X-Powered-By: PHP/5.2.0-8+etch13
Set-Cookie: PHPSESSID=b797765b2b77ffe1d51099e11ca680d8; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8

Looks like that works.  But it's setting a session.  Unless you're
using cookie jars maybe that could be part of your problem.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux