I am running Filezilla server on Windows with a Vultr instance and am trying to FTP a file from a Linux server to my FTP server however I am receiving an error 425 can't open data connection on the server when the file is attempting to be transferred.

A few facts:
I've defined the passive ports in Filezilla server from 50000-50100
The external server is configured for the public IP of my server
Ports 50000-50100 are opened on the firewall of my Vultr instance AND Windows Firewall

When watching the incoming connection, it looks like the incoming port isn't in the range of what I've opened up that is 50000-50100 instead from the example attached, it looks to be coming in on port 54653 (213*256+125)
I'm guessing that's why this isn't working but I'm not sure how to control the incoming port to be in line of the opened passive ports of 50000-50100 on the Filezilla server.

The client is using Active mode, not Passive mode (which you configured your ports for). The PORT command is used only with Active mode, Passive uses PASV.

The data port you calculated is located at the client's side, not yours. The client has to configure his/her network and FTP client, to accept incoming connections on his/her data ports. If that isn't desired/possible, the client MUST use Passive mode (neither the ftp command on Windows nor Linux support Passive at all).

### BEGIN SIGNATURE BLOCK ###No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.All FileZilla products fully support IPv6.http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Thanks for the reply and insight that the client is using Active, not Passive.

I'm not sure what you mean by saying the client has to accept incoming connections on his/her data ports? The client is sending the data to the server, not receiving -- why would the client side firewall matter in this scenario?

"In active mode, the client opens a socket on the local machine and tells its address to the server using the PORT command. Once the client issues a command to transfer a file or listing, the server will connect to the address provided by the client."

Ok fair enough.. Since the data ports are always different it seems, how would I find out what my client's data port range is so that I can open them up on the client side firewall?

Hi! This is my first post and first of all... sorry for my poor english...
I have the same issue kwriley87. Filezilla Server (v 0.9.60), in passive mode, some times sends an out of range data port to the client, this data port is some port taked from the range configured in the server side (Passive Mode Settings->Use Custom Port Range) and used by the client to establish the data connection with the server.

FZ Server will propose data ports from the range you configured. Working as intended. I have never seen a port out of range, except from users with malicious firewalls or routers that modified ports. Note: If you see PORT/EPRT, it's not Passive.

If it is returning such a port in the reply to PASV or EPSV, check if the same port is displayed in the client vs the server log.

### BEGIN SIGNATURE BLOCK ###No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.All FileZilla products fully support IPv6.http://worldipv6launch.org
### END SIGNATURE BLOCK ###