So a couple of days before, I tried creating a trang chủ FTP Server, which I can access from my own network. It worked. But now I want to tướng go further. I wanted my trang chủ FTP Server accessible from any network via an external IPv4 address. So here is my problem.
Every time if I want to tướng connect to tướng my server on localhost
or on my local IP address, it works. But when I try to tướng connect with the same credentials on my external IP address, it says that it cannot retrieve the directory listing:
Status: Connecting to tướng *************:800...
Status: Connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type mix to tướng I
Command: PASV
Response: 227 Entering Passive Mode (**,***,*,***,***,106)
Command: MLSD
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Response: 425 Can't open data connection for transfer of "/"
Error: Failed to tướng retrieve directory listing
The (obfuscated) IP address in the 227
response does not match the (obfuscated) server IP address in the "Connecting to tướng ..." message.
I tried turning off my firewall, forwarded port 21 and port 800 for both TCP and UDP, but nothing worked. I also made exceptions for both ports, and that didn't work as well.
Another problem is, that if I want to tướng log in on my external IP address on my FileZilla Server, it shows this:
Connecting to tướng server -censored-:14147...
Error, could not connect to tướng server
Trying to tướng reconnect in 5 seconds
My question is: how tự I create a trang chủ FTP Server which is can access remotely?