FTP server setup/Fedora 20
Hi,
I am trying to install FTP server with following instructions here https://ask.fedoraproject.org/en/question/9324/fedora-16-vsftpd-config/ When I come to the part of accessing FTP (#Ftp server1) I get a mistake "ftp:server1:Name or service not known" I have Fedora 20 installed in Virtual box.Could that be a problem? Please,please help
Hello: server1 is just representing the hostname of the ftp server you want to reach. It needs to be defined on ftp client side either in /etc/hosts or as a DNS entry.
So you need to adapt your command-line to actual hostname or IP-address of ftp server.
In itself, being installed on a VM is not a problem. However, If you use a NAT'ed network interface on your VM, you'll need to add some port forwarding.
You may edit your post to give more detail on your configuration (client side notably).
Thanks, I missed it with /etc/hosts Could I just ask, what exactly should i write there? There is already this written, should I erase it all? 127.0.0.1 localhost.localdomain localhost : : 1 localhost6.localdomain6 localhost6 I am sorry if that is a very stupid question, I am totally new with that
@Anya, I'm affraid you are mixing several things. Please provide more information on where your ftp client is running. From what I understand the server is in a virtual-box VM, but you also did not mention how network is configured on this.
@Anya, don't even think about removing what's currently in /etc/hosts if you want your computer to connect to any network. Everything that's in there needs to be there. If you know the name and IP address of the server you want to reach, you can add that to the file so that any DNS issues won't block access. However, if the server's IP address changes, you'll need to correct the entry.