HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Cannot build data connection: Connection refused



Hi,
as hfaxd uses the ftp-protocol with modified/extended commandset,
you will never be able to get a directory-listing using telnet.
telnet does not support the way the data is transfered back from the
Hylafax-server to your telnet session. 
Telnet always expects all data on one tcp/ip-connection.
But ftp uses two different connections,
one for control/commands ( the one you can connet to with telnet)
and another for data, which is dynamically opend and closed for 
every command giving more data back then the standard statusline.
in clear words:

the resulting:
Cannot build data connection: Connection refused
is completly normal if you connect with telnet.
use a ftp-client which supports command-execution on 
the ftp-server, and you will be able to list files, 
to uplode files and even to submit jobs.
have a nice day
Christoph

Alexander Hoff schrieb:
> 
> Hello,
> 
> i tried to get my hylafax server up and running for many many hours but
> i failed. I really don't know what's
> going wrong. I hope there anyone outthere who can help me.
> 
> I installed hylafax version 4.1beta2 (rpm-archive) on red hat linux 6.2.
> Hylafax and my modem are both configured right (i suppose). That's the
> result i get when i enter "ps ax | grep fax":
> 
>   689 ?        S      0:00 /usr/sbin/faxq
>   691 ?        S      0:00 /usr/sbin/hfaxd -i hylafax
>   907 ?        S      0:00 /usr/sbin/faxgetty modem
> 24369 pts/0    S      0:00 grep fax
> [root@server]#
> 
> I am able to connect to hylfax via telnet using "telnet [ip adresse]
> 4559" (or telnet localhost 4559) and i can enter  commands like "user
> alex" or "stat".  But when i enter a command like "list" i get the
> following error messag "Cannot build data connection: Connection
> refused". Needless to say that there's no client doing a better job than
> telnet. All i get is this error message.
> 
> Can you help me?
> 
> Thanks in advance.
> 
> Alexander Hoff
> 
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions