Question about pureFTPd

Discussion in 'HOWTO-Related Questions' started by fatnack, Apr 6, 2006.

  1. fatnack

    fatnack New Member

    Hi @ all

    I read the tutorial, it's just fantastic. All features are working correctly...but I can only connect to localhost.

    On the Server I enter:

    --> this is okay

    But when I enter:

    then he says "Connection refused"

    I hope you can help me that I can establish connections from outside!

    Thank's a lot
    Last edited: Apr 6, 2006
  2. till

    till Super Moderator

    Please post the output of:

    netstat -tap
  3. fatnack

    fatnack New Member

    danemark:/usr/sbin# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:sunrpc                *:*                     LISTEN     1436/portmap
    tcp        0      0 *:auth                  *:*                     LISTEN     1835/inetd
    tcp        0      0 *:ftp                   *:*                     LISTEN     1964/pure-ftpd (SER
    tcp        0      0 *:smtp                  *:*                     LISTEN     1817/exim4
    tcp        0      0 *:891                   *:*                     LISTEN     1981/rpc.statd
    tcp6       0      0 *:www                   *:*                     LISTEN     1992/apache2
    tcp6       0      0 *:ftp                   *:*                     LISTEN     1964/pure-ftpd (SER
    tcp6       0      0 *:ssh                   *:*                     LISTEN     1970/sshd
    tcp6       0      0 *:smtp                  *:*                     LISTEN     1817/exim4
    tcp6       0    720 ::ffff:  adsl-156-56.dsl.i:10350 ESTABLISHED2870/sshd: remo [pr
    Thank's a lot!

    (Deutsch wäre auch möglich;) )
  4. falko

    falko Super Moderator

    Ok, ftp is listening on all interfaces. Please make sure your firewall doesn't block port 21 (and maybe also 20).
    What's the output of
    iptables -L
  5. fatnack

    fatnack New Member

    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination

    PS: I've no firewall here
  6. falko

    falko Super Moderator

    Does FTP work with an FTP client like SmartFTP from another computer?

Share This Page