Unable to connect to FTP server in Vmware
Hi Everyone,
I am practicing Linux in Vmware box. I tried to setup FTP server and a normal client machine. 1: Once I setup FTP, i am not able to connect to ftp server using "ftp" command. Error: Command not found. I have already installed vsftpd package using yum. 2: I am able to connect to FTP server using "sftp" server. However, once I connect using sftp, its not directing to default ftp directory pub on ftp server. Instead it is directing to root directory on ftp server. Kindly help. |
Quote:
Code:
yum install ftp Quote:
The first is the FTP protocol and it connects on port 21 (uses also port 20 to transfer data) SFTP is using ssh, so it connects to the server through port 22. |
1 Attachment(s)
Quote:
hi Bathory, 1. I am using Centos7 for both ftp server and client. I have setup ftp server successfully. and also install ftp package in client as you suggested. Now when I try to connect to ftp server, it says "No Route to host". When I tried to ping server, it does not show any packets sent or received as shown in the attachment. I have disabled firewall. Kindly help. |
Quote:
Are you sure you've stopped the firewall? If you're, them it could be vware. And you can try this to see if it helps |
Quote:
I found that its an issue with the firewall which was blocking port 21. I have enabled it and it got fixed. Thank you :) |
All times are GMT -5. The time now is 07:00 AM. |