using ftp
hi all. i use telnet to connect to the localhost. how can i connect to the host using ftp. i have tried it a few times but it displays some error message connection refused". i want to transfer some of my files from server to client.in my server i've allowed permission for ftp.still it's unable to connect.what could be the problem. how can i rectify it.please help me out.
thanks in advance Nishchaya |
Hi!
I'm a little confused. You say that you connect to localhost. That should be like connecting within the same machine. I assume that you are trying to connect between two machines. There are a couple of problems that are possible reason for connection to fail: o The server has a firewall that doesn't allow incoming connections to ftp port (default ftp port is 21) o The server has no ftpd (ftp daemon) running. We may be able to help you better if you tell us what Linux distribution your server uses. Regards Martin |
re: using ftp
i am a little confused.
hi, you'va got me right. actually the name of the server was localhost, so i wrote it like that. well, i am using RHlinux 9 and i have allowed incoming ftp,telnet, etc. in my security options. what should i do now? i think i haven't done it correctly.how to enable ftp? thanks in advance Nishchaya |
Hi!
:scratch: I don't think you can name a server 'localhost'. If you do a name lookup in the client, you will see something like this: Code:
~> nslookup -sil localhost Try to find the server's IP address and connect with that instead. To find it out, type '/sbin/ifconfig' in a terminal windows on the server. Second, to enable ftp server in RedHat go to (from the start menu) 'Server Settings' > 'Services' and enable 'vsftpd'. Then you need to restart 'xinetd' to make the changes take place. Good luck! Martin |
All times are GMT -5. The time now is 09:17 AM. |