LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP ; connection timed out (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-%3B-connection-timed-out-519254/)

User Name. 01-14-2007 03:23 PM

FTP ; connection timed out
 
I have a site, and upload files via ftp. I usually use winblows to do it, but I want to use a text based unix program. So why not ftp? I have it installed on my system.

I got the ftp server ip, my login details, and such. I type:

Code:

ftp [ip here] 25
and my output:
Code:

ftp: connect: Connection timed out
ftp> quit

What does that mean? Connection timed out, that is.

puntjuh 01-14-2007 05:17 PM

Connection timed out means that either the server is offline, and you can't get connected to it. Or that there's a problem with the server.

But as i see the command u put in:

ftp ipaddress 25

Where I take it 25 is port.. It is my understanding that the default port for FTP is 21. And unless specified otherwise by the server u are connecting too, you should use port 21 for connecting to the FTP server.

25 is used for SMTP servers. (mail servers).

Try using port 21, i think you won't get a connection timed out then

User Name. 01-14-2007 05:40 PM

Quote:

Originally Posted by puntjuh
Connection timed out means that either the server is offline, and you can't get connected to it. Or that there's a problem with the server.

But as i see the command u put in:

ftp ipaddress 25

Where I take it 25 is port.. It is my understanding that the default port for FTP is 21. And unless specified otherwise by the server u are connecting too, you should use port 21 for connecting to the FTP server.

25 is used for SMTP servers. (mail servers).

Try using port 21, i think you won't get a connection timed out then

Thanks, it works perfectly. The last time I actually took the time to memorize the ports was what, a year ago?

I'm so stupid for forgeting that. Thanks.


All times are GMT -5. The time now is 09:16 AM.