Open unknownguy opened 2 years ago
No idea. It just looks like the client not being able to connect to the passively opened port. This might have a multitude of causes and is difficult to diagnose from a distance.
For what is worth, the docker image is on linux.
I think you must specify opt.ServerAddres to the IP address used by your client to connect to your ftp server. Otherwise the local ip address of the docker container will be sent back to your client, which is not what you want.
I made it work by setting the PublicAddress of the SimplePasvOptions to the ip address of my server
I am having troubles connecting to local docker container using PASV. However, this works fine using EPSV. Outside of the docker container everything works great!
I will add my config info and logs from both PASV and EPSV.
Current settings:
Container active ports are: 21, 80, 443, 49152, 49153
They are active on both container and host ports.
PASV log:
EPSV log:
Any thoughts?