Re: setting up vsftpd
On Sat, 04 Jul 2015 13:55:36 +1000
Alexis <flexibeast@gmail.com> wrote:
>
> briand@aracnet.com writes:
>
> > just to recap. machine 1 :firewall. i can ftp into machine 2
> > machine 2: no firewall. i cannot ftp into machine 1
> >
> > i tried the iptables commands as you explained above, and still
> > get connection refused.
> >
> > here's the really interesting part.
> >
> > when logged in on machine 1.
> > ftp localhost: works ftp machine1: connection refused
>
> In my experience, "connection refused" can indicate that there's
> nothing actually listening on the port to which one is trying to
> connect. Perhaps try running netstat(8) on machine1, e.g.:
>
> $ netstat -altp
>
> to check that vsftpd is indeed listening on the relevant
> port(s). If it's not, check vsftpd logs to see whether it produced
> any errors or warning on startup, and check your vsftpd
> configuration accordingly.
>
>
> Alexis.
>
>
machine1
tcp6 0 0 [::]:ftp [::]:* LISTEN 29400/vsftpd
machine2
tcp6 0 0 [::]:ftp [::]:* LISTEN 707/vsftpd
Looks good. Thanks for the suggestion.
Brian
Reply to: