LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-04-2003, 04:54 PM   #1
mstembri
LQ Newbie
 
Registered: May 2001
Posts: 14

Rep: Reputation: 0
ftp/telnet not accepting connections


I can ftp localhost without a problem, but when I try to ftp into my RedHat 8 system from other machines on my home network the connection times out.

/etc/services
Code:
# refences to ftp
ftp-data		20/tcp
ftp-data		20/upd
ftp		21/tcp
ftp		21/upd		fsp fspd
tfpt		69/tcp
tfpt		69/upd
sfpt		115/tcp
sfpt		115/upd
/etc/hosts.allow
Code:
# I know this must be changed, it's this way temporarily for  
# troubleshooting purposes
ALL:ALL
/etc/hosts.deny
Code:
# empty
/etc/ftpaccess
Code:
# this also must be changed, again it is wide open for troubleshooting # purposes

#deny-uid %-99 %65534-
#deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp
/sbin/chkconfig --list
Code:
# snipped
xinetd based services:
	#snipped
	wu-ftpd: 	on
I'm stumped. Would someone please help?

Thanks!
 
Old 10-04-2003, 05:11 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
what about iptables? are these ports being blocked? also are you connected through a router, etc??? if so, did you set it up to forward connections from the incoming port to your internal address?
 
Old 10-05-2003, 08:04 AM   #3
mstembri
LQ Newbie
 
Registered: May 2001
Posts: 14

Original Poster
Rep: Reputation: 0
These computers are located on a network without a firewall (which is located behind a firewall to the outside world but i'm not going across that)
 
Old 10-05-2003, 09:39 AM   #4
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
can you "telnet <RHBOX> 21" from a client? the server should answer you and connect. For now try connecting via the IP address rather than the name of the machine too.

Are any of the clients linux? you might have a program called nmap installed. It's a portscanner and just running "nmap <RHBOX>" and it should tell you the status of port 21, amongst others...
 
Old 10-05-2003, 11:08 AM   #5
mstembri
LQ Newbie
 
Registered: May 2001
Posts: 14

Original Poster
Rep: Reputation: 0
C:\>telnet 192.168.1.103 21
Connecting To 192.168.1.103...
Could not open a connection to host on port 21 : Connect failed

There are currently no other 'nix clients.
 
Old 10-05-2003, 12:05 PM   #6
mstembri
LQ Newbie
 
Registered: May 2001
Posts: 14

Original Poster
Rep: Reputation: 0
also...

chkconfig --list | grep ftp
wu-ftpd: on

but (strangely)...

service wu-ftpd on
wu-ftpd: unrecognized service
 
Old 10-05-2003, 02:11 PM   #7
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
can you ping 192.168.1.103?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X not accepting remote system connections rdfoerster Linux - Software 10 07-11-2005 06:49 PM
Whare are logs for ftp, telnet and other netwrk connections ? stephnane AIX 5 05-17-2004 03:38 AM
VNC not accepting connections Red Squirrel Linux - Newbie 4 02-20-2004 08:55 PM
port 110 isn't accepting connections member57 Linux - Networking 8 07-23-2003 09:11 PM
proftpd not accepting outside connections sohmc Linux - Software 0 07-18-2003 07:40 AM

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

All times are GMT -5. The time now is 01:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration