Hello, I’m having some issues with access to FTP. I’ve used the Marketplace install of Cyberpanel and for some reason when I add an FTP user and try to log in, I’m constantly getting “The data connection could not be established: ECONNREFUSED - Connection refused by server”. I’ve double-checked all Firewall settings and everything seems to be ok. By default, all the correct ports were opened with the “one-click install”. I’m kind of at a loss at this point and not really sure where to check next. Hoping I can get some help on this so I can get access to FTP upload/download for my domain.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi,
Could you please run this command and post result ?
cat /etc/pure-ftpd/conf/PassivePortRange
Best regards,
Yes, still get this:
Status: Connection established, waiting for welcome message...
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 (167,172,124,40,157,17)
Command: MLSD
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Well, I figured this on out. For anyone who wants to use the Cyberpanel Marketplace Installation on a blank droplet - you need to change the IP address inside of this directory file:
/etc/pure-ftpd/conf/ForcePassiveIP
I am not sure WHY there was a random IP address set inside of this file, but once I changed the IP address to match my droplet’s IP address - it works flawlessly now.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.