Skip to content

Connection failed... #2

Description

@Spritekin

Hi,
i run your server as:
sudo docker run -p 21:21 -ti --rm mauler/simple-ftp-server

When I connect using any client (curl, ft, filezilla, cyberduck) I just get disconnected or never really completing the connection. Not I use the defulat ftp:ftp user.

[I 2017-12-13 03:06:51] 192.168.16.190:64344-[] FTP session opened (connect)
[I 2017-12-13 03:06:52] 192.168.16.190:64344-[ftp] USER 'ftp' logged in.
[I 2017-12-13 03:06:53] 192.168.16.190:64344-[ftp] CWD /ftp-home 250
[I 2017-12-13 03:07:23] 192.168.16.190:64344-[ftp] FTP session closed (disconnect).
INFO:pyftpdlib:192.168.16.190:64344-[ftp] FTP session closed (disconnect).

It doesn't matter if I run locally or remotely, the connection is terminated. i.e. running as localhost:

$ docker run -p 11021:21 -it --rm mauler/simple-ftp-server
[I 2017-12-13 03:09:30] >>> starting FTP server on 0.0.0.0:21, pid=9 <<<
[I 2017-12-13 03:09:30] concurrency model: async
[I 2017-12-13 03:09:30] masquerade (NAT) address: None
[I 2017-12-13 03:09:30] passive ports: None
[I 2017-12-13 03:10:29] 172.17.0.1:43064-[] FTP session opened (connect)
[I 2017-12-13 03:10:29] 172.17.0.1:43064-[ftp] USER 'ftp' logged in.
[I 2017-12-13 03:10:30] 172.17.0.1:43064-[ftp] FTP session closed (disconnect).

$ curl ftp://ftp:ftp@localhost:11021/
curl: (8) Failed to connect to localhost port 11021: Connection refused

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions