You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pascal Terjan <pt...@linuxfr.org> on 2004/03/19 17:56:01 UTC

[users@httpd] Reverse ftp proxy tries to connect to 0.0.0.0

Hi,
I tryied to setup a reverse ftp proxy to allow transparent access to
files available on an internal ftp server.

I used ProxyPass /ftp ftp://192.168.230.33/

But then I get an error and found nothing using Google :

[Fri Mar 19 17:26:59 2004] [error] (111)Connection refused: proxy: FTP:
attempt to connect to [::]:21 ((null)) failed
[Fri Mar 19 17:26:59 2004] [error] (111)Connection refused: proxy: FTP:
attempt to connect to 0.0.0.0:21 ((null)) failed
[Fri Mar 19 17:26:59 2004] [error] [client 192.168.230.33] proxy: Could
not connect to remote machine: (null) port 21 returned by /ftp/

Any idea about what's wrong in my conf that make it connect to 0.0.0.0
instead of 192.168.230.33 ?

Thanks.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Reverse ftp proxy tries to connect to 0.0.0.0

Posted by Pascal Terjan <pt...@linuxfr.org>.
Pascal Terjan wrote:
> Hi,
> I tryied to setup a reverse ftp proxy to allow transparent access to
> files available on an internal ftp server.
> 
> I used ProxyPass /ftp ftp://192.168.230.33/
> 
> But then I get an error and found nothing using Google :
> 
> [Fri Mar 19 17:26:59 2004] [error] (111)Connection refused: proxy: FTP:
> attempt to connect to [::]:21 ((null)) failed
> [Fri Mar 19 17:26:59 2004] [error] (111)Connection refused: proxy: FTP:
> attempt to connect to 0.0.0.0:21 ((null)) failed
> [Fri Mar 19 17:26:59 2004] [error] [client 192.168.230.33] proxy: Could
> not connect to remote machine: (null) port 21 returned by /ftp/
> 
> Any idea about what's wrong in my conf that make it connect to 0.0.0.0
> instead of 192.168.230.33 ?
> 
> Thanks.

I looked into the source and decided to make some few patches, in order to :
- connect to the given hostname/port/path
- add a / with a Location: on directories, else currently listings are 
broken
- display the right message instead of 404 when Permission denied/Anti 
Warez/...

I'll now try finding where to discuss/submit it