JDS can't ftp into system but can ftp out
Hi
I installed JDS on a laptop smoothly. I can ftp to other systems but cannot ftp or telnet into my laptop. I get the following: ftp: connect: Connection refused telnet: Unable to connect to remote host: Connection refused I looked in /etc/services: ftp-data 20/tcp # File Transfer [Default Data] ftp-data 20/udp # File Transfer [Default Data] ftp 21/tcp # File Transfer [Control] fsp 21/udp # official is File Transfer, ftp use no udp ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp # SSH Remote Login Protocol telnet 23/tcp # Telnet telnet 23/udp # Telnet which looks to me like the ports are open??? Any help would be appreciated! |
To see if the ports are open run:
Code:
netstat -tan or |
Now what?
Thanks,
netstat -tan Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:681 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:9010 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:27000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 ::1:9010 :::* LISTEN tcp 0 0 :::38900 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:9010 ::1:32869 ESTABLISHED tcp 0 0 129.154.48.96:33475 192.18.108.66:993 ESTABLISHED tcp 0 0 ::1:9010 ::1:32772 ESTABLISHED tcp 0 0 129.154.48.96:33516 129.148.9.42:8080 TIME_WAIT tcp 0 0 ::1:33565 ::1:9010 ESTABLISHED tcp 0 0 ::1:32795 ::1:9010 ESTABLISHED tcp 0 0 ::1:32772 ::1:9010 ESTABLISHED tcp 0 0 ::1:32869 ::1:9010 ESTABLISHED tcp 0 0 ::1:9010 ::1:32795 ESTABLISHED tcp 0 0 ::1:9010 ::1:33565 ESTABLISHED Don't see them listed here. How do I turn them on? |
You can edit your /etc/inetd.conf and uncomment the respective lines. Also comment the services that you don't want to run.
|
OK did that and telnet now works but ftp does not although I do get further. The connection is made and then lost:
ftp 131.154.48.96 Connected to 131.154.48.96. 421 Service not available, remote server has closed connection I installed gftp and believe ftp is a standard part of the install (JDS/Suse) Any thoughts? |
I've seen this error when you open the ftp service through /etc/inet.conf, but either you don't have an ftp daemon installed, or it's not configured correctly.
|
All times are GMT -5. The time now is 01:56 AM. |