We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
FTP connection error on ubuntu server with vesta
-
- Posts: 6
- Joined: Sat Aug 03, 2019 10:58 pm
- Os: Ubuntu 17x
- Web: apache + nginx
FTP connection error on ubuntu server with vesta
Perform the installation of vestacp through custom configurations:
I have also made the settings to have my own custom DNS with my own domain for example: myowndns123.net
Now create my FTP account for the following example domain: example.com and user FTP: admin_example and password: example
I am using FileZilla I tried the current versions even old versions.
I have tried different ways to access from: FTP - SSH FILE TRANFER PROTOCOL with port 22 and I also tried it with port 21 in the same way with: FTP - FILE TRANSFER PROTOCOL.
The data I enter are:
Other attempts
Other attempts
Please help some configurations that you must make in vestacp to be able to use FTP.
Or what am I doing wrong
Code: Select all
bash vst-install.sh --force --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota yes --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous yes --mysql yes --postgresql yes --hostname myowndns123.net --email [email protected] --password mypassword`
Now create my FTP account for the following example domain: example.com and user FTP: admin_example and password: example
I am using FileZilla I tried the current versions even old versions.
I have tried different ways to access from: FTP - SSH FILE TRANFER PROTOCOL with port 22 and I also tried it with port 21 in the same way with: FTP - FILE TRANSFER PROTOCOL.
The data I enter are:
Code: Select all
Server: example.com (I have also tried adding the server's fixed IP and the DNS linked domain myowndns123.net)
User: admin_example
Password: example
Port: 21 (I have also used port 22)
This is the answer I get from FileZilla:Note: Finally I tried to change a new FTP password and also tried to create a new FTP user and password. Not to mention that the website is configured with a free SSL certificate.
Code: Select all
Status: Connecting to example.com ...
Answer: fzSftp started
Command: open "[email protected]" 22
Command: Trust new host key: Yes
Command: Pass: ****************
Status: Connected to example.com
Error: Connection closed by server with exitcode 1
Error: Could not connect to server
Status: Waiting to retry ...
Status: Delaying connection for 1 second due to a previous failed connection attempt ...
Status: Connecting to example.com ...
Answer: fzSftp started
Command: open "[email protected]" 22
Command: Pass: ****************
Error: Could not connect to server
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:21 ...
Status: Connection established, waiting for the welcome message ...
Answer: 220 (vsFTPd 3.0.3)
Command: USER admin_example
Answer: 331 Please specify the password.
Command: PASS ****************
Answer: 230 Login successful.
Command: SYST
Answer: 215 UNIX Type: L8
Command: FEAT
Answer: 211-Features:
Answer: AUTH TLS
Answer: UTF8
Answer: EPRT
Answer: EPSV
Answer: MDTM
Answer: PASV
Answer: PBSZ
Answer: PROT
Answer: REST STREAM
Answer: SIZE
Answer: TVFS
Answer: 211 End
Command: OPTS UTF8 ON
Answer: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving the directory listing ...
Command: PWD
Answer: 257 "/" is the current directory
Command: TYPE I
Answer: 200 Switching to Binary mode.
Command: PASV
Answer: 227 Entering Passive Mode (172,11,11,11,11,50).
Status: The server sent a passive response with a non-routable address. Using the server address instead.
Command: LIST
Error: Connection timed out
Error: Error retrieving directory listing
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:21 ...
Status: Connection established, waiting for the welcome message ...
Answer: 220 (vsFTPd 3.0.3)
Command: AUTH TLS
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry ...
Status: Delaying connection for 1 second due to a previous failed connection attempt ...
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:21 ...
Status: Connection established, waiting for the welcome message ...
Answer: 220 (vsFTPd 3.0.3)
Command: AUTH TLS
Error: Connection timed out
Error: Could not connect to server
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:990 ...
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry ...
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:990 ...
Error: Connection timed out
Error: Could not connect to server
Code: Select all
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:21 ...
Status: Connection established, waiting for the welcome message ...
Answer: 220 (vsFTPd 3.0.3)
Command: AUTH TLS
Error: The connection timed out after 20 seconds of inactivity
Error: Could not connect to server
Status: Waiting to retry ...
Status: Resolving the address of example.com
Status: Connecting to 18.111.11.111:21 ...
Status: Connection established, waiting for the welcome message ...
Answer: 220 (vsFTPd 3.0.3)
Command: AUTH TLS
Code: Select all
Status: Connecting to example.com ...
Status: Connected to example.com
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
Status: Waiting to retry ...
Status: Connecting to example.com ...
Answer: fzSftp started, protocol_version = 8
Command: open "[email protected]" 22
Command: Pass: ****************
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
Or what am I doing wrong
Re: FTP connection error on ubuntu server with vesta
You have a possible problem related to passive mode or local lan IP on your server. Try to configure the passive mode IP in the vsftpd.conf and restart the service.