cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and firewall

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Aug 2006 17:19:45 +0200 (CEST)

On Mon, 14 Aug 2006, lostsandman wrote:

> When i ever i try to connect to a server it times out so i download the
> latest version of curl.exe to get some debug info and here is what i got

>> PASV
> * Connect data stream passively
> < 227 Entering Passive Mode (*ftpserver* ,11,140)
> * Trying *ftpserver* ... Timed out
> * couldn't connect to host

> As you can see i connetc and log in but but when i try to open the data
> connection it times out. Any ideas as to why this may be the case?

Something between your local machine and the remote server is blocking the
conenct. It can be a firewall that doesn't track FTP or whatever. It is
impossible to tell exactly what it is from here.

If you don't have a strict firewall yourself you can try using active FTP with
-P -.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-14