I met some trouble when using galaxy docker with the direction of https://github.com/bgruening/docker-galaxy-stable for FTP connection.
docker run -d -v /data/huboqiang:/export/ --net=host bgruening/galaxy-stable
and for http connection, it worked well.
Then I tried to connect the FTP service in the localhost, it worked well as well.
lftp 127.0.0.1 -p 21 -u email@example.com
Also, it worked fine when I connect the FTP service using the private network IP address:
lftp 10.10.235.XXX -p 21 -u firstname.lastname@example.org
However, when I tried to connect the FTP service using the Internet IP, I do met some trouble:
lftp 166.111.152.XXX -p 13XXX -u email@example.com ### keep waiting, no response.
There is no problem with the IP address and port mapping from 21 to 13XXX because I can get the log in information in my web browser. However, if I type my account and password to log in, no response would return.