FTP Acces is blocked

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.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:


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.

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


Could you please run this command and post result ?

cat /etc/pure-ftpd/conf/PassivePortRange

Best regards,