LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ftp/telnet not accepting connections (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-telnet-not-accepting-connections-100263/)

mstembri 10-04-2003 04:54 PM

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!

DrOzz 10-04-2003 05:11 PM

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?

mstembri 10-05-2003 08:04 AM

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)

fatgod 10-05-2003 09:39 AM

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...

mstembri 10-05-2003 11:08 AM

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.

mstembri 10-05-2003 12:05 PM

also...

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

but (strangely)...

service wu-ftpd on
wu-ftpd: unrecognized service

fatgod 10-05-2003 02:11 PM

can you ping 192.168.1.103?


All times are GMT -5. The time now is 01:13 AM.