A question about connection refused

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Jun 25 14:10:15 GMT 2004


On Fri, 2004-06-25 14:01:41 +0000, Guo jing <guojingxx at hotmail.com>
wrote in message <BAY16-F32TwE6t3QrqH000092a6 at hotmail.com>:
> I install rsync in computer and run it as a daemon successfully, but when I 
> run rsync command on another end to connect it. There is a error.
> 
> The output is :
>           opening tcp connection to 192.168.0.43 port 873
>           rsync: failed to connect to 192.168.0.43: Connection refused
>           _exit_cleanup(code=10, file=clientserver.c, line=93): entered
>           rsync error: error in socket IO (code 10) at clientserver.c(93)
>           _exit_cleanup(code=10, file=clientserver.c, line=93): about to 
> call exit(10)
> 
> I use "netstat -an|grep 873" and  "ps -aux|grep rsync" and I am sure that 
> the rsyncd has run successfully. The version is both 2.6.2. 

Sure this isn't just a firewall that rejects an unknown access? Try
"iptables-save" or "ipchains-save" to see if there are any rules
installed (pay attention to default action, too!)...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040625/c6e1b4c5/attachment.bin


More information about the rsync mailing list