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] 425 Cannot build data connection: Connection refused.



peter_green lion wrote:


> Date: Wed, 1 Dec 2010 18:32:31 -0800
> From: faxguy@xxxxxxxxxxxxxxxx
> To: betergreen@xxxxxxxx
> CC: hylafax-users@xxxxxxxxxxx
> Subject: Re: [hylafax-users] 425 Cannot build data connection: Connection refused.
>
> peter_green lion wrote:
> >
> >
> > > Date: Wed, 1 Dec 2010 17:30:44 -0800
> > > From: faxguy@xxxxxxxxxxxxxxxx
> > > To: betergreen@xxxxxxxx
> > > CC: hylafax-users@xxxxxxxxxxx
> > > Subject: Re: [hylafax-users] 425 Cannot build data connection:
> > Connection refused.
> > >
> > > peter_green lion wrote:
> > > > my system have 2 servers. one is asterisk server(192.168.1.11),
> > > > another is hylafax server and iaxmodem(192.168.1.10).
> > > > - i can send and receive fax from fax extensions.
> > > > in asterisk server i install hylafax-client.
> > > > and run sendfax -n -h ttyIAX0@xxxxxxxxxxxx 12345 fax.pdf
> > > > i get error that :
> > > > 425 Cannot build data connection: Connection refused.
> > > >
> > > > please help to fix this problem.
> > >
> > > Is the firewall on 192.168.1.10 configured to allow the connection?
> > >
> > > Thanks,
> > >
> > > Lee.
> >
> > hi Lee and all,
> > in server 192.168.1.11(asterisk server) i run ftp 192.168.1.10 and it
> > work ok.
> > so how can i solve it ?
>
> ftp and hfaxd operate on different ports.
>
> Please look at the documentation that came with your Linux distribution
> about the firewall (iptables).
>
> Thanks,
>
> Lee.
>
>


hi Lee and all,

iptables stop on server 192.168.1.10

in this server i see:

PORT      STATE SERVICE
21/tcp    open  ftp
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
3306/tcp  open  mysql
4559/tcp  open  hylafax
10000/tcp open  snet-sensor-mgmt

in server 192.168.1.11 i run some command as:

1.root@a3:~# telnet 192.168.1.10 4559
Trying 192.168.1.10...
Connected to 192.168.1.10.
Escape character is '^]'.
220 example.localhost.com server (HylaFAX (tm) Version 6.0.5) ready.


2. root@a3:~# ftp 192.168.1.10 4559 Connected to 192.168.1.10. 220 example.localhost.com server (HylaFAX (tm) Version 6.0.5) ready. Name (192.168.1.10:root): root 230 User root logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp>

i a get the same error.

What error? With sendfax? With the firewall off on both the server and the client systems run sendfax with the -vv option and report the output.


Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions