LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2007, 03:23 PM   #1
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Rep: Reputation: 30
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.
 
Old 01-14-2007, 05:17 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
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
 
Old 01-14-2007, 05:40 PM   #3
User Name.
Member
 
Registered: Aug 2006
Distribution: Ubuntu 8.04
Posts: 178

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aMSN connection timed out d0lle Debian 1 09-05-2005 03:16 PM
connection timed out. moby Linux - Networking 0 10-13-2004 07:45 AM
Connection timed out tuttu Linux - Networking 2 08-06-2004 07:05 PM
Ftp CInnection Timed Out eggoz Linux - Networking 2 01-31-2004 02:44 PM
Connection timed out Valluvan Programming 6 12-22-2002 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration