Hi All,
Apologies if this is answered elsewhere, but I have tried many solutions and I am not getting anywhere slowly!
I am running Plesk 10 (Centos/1and1), and I am unable to connect to the server via FTP using Port 21.
I have checked the firewall, I have FTP open, and I have added an additional entry to ensure port 21 is clear.
Looking at the log files in var/log/messages:-
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - FTP session opened.
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - Preparing to chroot to directory '/var/www/vhosts/... path to directory'
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - FTP session closed.
Jan 5 11:18:51 s15751460 xinetd[1438]: EXIT: ftp status=0 pid=25153 duration=0(sec)
The log file in filezilla shows (SFTP)
Status: Connecting to 82.165.157.221...
Response: fzSftp started
Command: open "username@82.165.157.221" 22
Command: Pass: **********
Status: Connected to 82.165.157.221
Error: Connection closed by server with exitcode 1
Error: Could not connect to server
Standard FTP:
Status: Connecting to 82.165.157.221:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3e Server (ProFTPD) [82.165.157.221]
Command: USER username
Response: 331 Password required for username
Command: PASS **********
Response: 230 User username logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG en-US*;fr-FR;it-IT;ja-JP;ko-KR;ru-RU;zh-CN;zh-TW;bg-BG
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (82,165,157,221,178,18).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
I am only able to connect via FTP using SFTP and root/password.
I have been able to connect, using port 21/Passive using "phpWebFTP" which is installed as part of one of the websites I host, which leads me to think there is a restriction somewhere preventing me from connecting.
Any help would be greatly appreciated, as I have been struggling with this problem for several weeks, and 1and1 have been unable to help in anyway.
Apologies if this is answered elsewhere, but I have tried many solutions and I am not getting anywhere slowly!
I am running Plesk 10 (Centos/1and1), and I am unable to connect to the server via FTP using Port 21.
I have checked the firewall, I have FTP open, and I have added an additional entry to ensure port 21 is clear.
Looking at the log files in var/log/messages:-
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - FTP session opened.
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - Preparing to chroot to directory '/var/www/vhosts/... path to directory'
Jan 5 11:18:51 s15751460 proftpd[25153]: 82.165.157.221 (82.165.157.221[82.165.157.221]) - FTP session closed.
Jan 5 11:18:51 s15751460 xinetd[1438]: EXIT: ftp status=0 pid=25153 duration=0(sec)
The log file in filezilla shows (SFTP)
Status: Connecting to 82.165.157.221...
Response: fzSftp started
Command: open "username@82.165.157.221" 22
Command: Pass: **********
Status: Connected to 82.165.157.221
Error: Connection closed by server with exitcode 1
Error: Could not connect to server
Standard FTP:
Status: Connecting to 82.165.157.221:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3e Server (ProFTPD) [82.165.157.221]
Command: USER username
Response: 331 Password required for username
Command: PASS **********
Response: 230 User username logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: LANG en-US*;fr-FR;it-IT;ja-JP;ko-KR;ru-RU;zh-CN;zh-TW;bg-BG
Response: REST STREAM
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (82,165,157,221,178,18).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
I am only able to connect via FTP using SFTP and root/password.
I have been able to connect, using port 21/Passive using "phpWebFTP" which is installed as part of one of the websites I host, which leads me to think there is a restriction somewhere preventing me from connecting.
Any help would be greatly appreciated, as I have been struggling with this problem for several weeks, and 1and1 have been unable to help in anyway.