Hi , i have some problem... the first time I installed vxware esxi 6.5 I created a virtual machine , download and installed the virtual machine from this post: https://www.howtoforge.com/tutorial/perfect-server-debian-9-nginx-bind-dovecot-ispconfig-3.1/3/ I have a ftp problem. When I try to access it with filezilla I get this error: Status: Resolving address of my-website.com Status: Connecting to my.ext.ernal.ip: 21 ... Status: Connection established, waiting for welcome message ... Status: Initializing TLS ... Status: Verifying certificate ... Status: TLS connection established. Status: Logged in Status: Retrieving directory listing ... Status: Server sent a passive reply with an unroutable address. Using server address instead. Command: MLSD Error: Data connection could not be established: ECONNREFUSED - Connection refused by server Can someone help me?
The reason is that you run the VM behind a NAT router. In such a case, you have to set the external IP of the router as passive IP address in pure-ftpd like this: echo "EXTERNAL_IP" > /etc/pure-ftpd/conf/ForcePassiveIP Replace EXTERNAL_IP with your external IP address and then restart the FTP server.
Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Logged in Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (**,***,**,***,8,15) Command: MLSD Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
i solved the problem with this post : https://www.howtoforge.com/community/threads/problem-with-ftp.71886/ THXXXX!!!! For other problems, I'll try to use it all here. It was a very promising answer. Sorry for my English
Ok, so you'll have to configure the passive port range as well in the FTP server and your router / Firewall. https://www.faqforge.com/linux/cont...ange-in-pure-ftpd-on-denian-and-ubuntu-linux/ update: Answered a bit too late