Re: ftp to linux server fails

From: vom (vom_at_burn.net.nospam)
Date: 04/14/04


Date: 14 Apr 2004 14:29:55 GMT

In article <Bhbfc.71095$FL.4706334@phobos.telenet-ops.be>, SH wrote:
> Hi,
>
> I've recently setup a SuSE server on my network
> and today I tried getting FTP to work, but I didn't
> succeed.
> Because it's just for testing I'm using ftpd (on SuSE 9.0).
> I've added it to xinetd (in /etc/xinetd.d/ftpd.conf).
> I can connect locally via "ftp localhost", but when I try
> to connect via the command prompt in Windows XP "ftp 192.168.1.12",
> the IP address of the server, that fails.
> I am able to ping 192.168.1.12.
> I was guessing iptables blocked access to it so I did
> iptables --flush (probably not a good thing), but it didn't
> help either.
> And hosts.allow doesn't contain anything, while hosts.deny only
> contains "http-rman: ALL EXCEPT LOCAL".
> One last thing: my client (win xp) and server (SuSE) are connected
> via a router (192.168.1.1).
>
> Anyone who can tell me what I'm doing wrong?

Do a "netstat -ltnpa" (I don't use Suse so you may have to take some of
those arguments out if it complains, RH/FC's netstat takes all those args).
This should show you the ports in a listen state, for tcp, and the
associated processes. From this you should be able to see what address(es)
ftp is listening on (port 21). Your system may only be listening on
localhost for security reasons.

-- 
"SH1-0151.  This is the serial number, of our orbital gun."


Relevant Pages

  • Re: Many Connections from each Web Client
    ... In case inetinfo.exe is listening on random ports, have you enabled FTP ... Microsoft Online Community Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: opening ports
    ... services listening, so it doesn't matter). ... you should make exceptions for these ports. ... may request a switch to another port (like FTP does). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Ping: stingray
    ... Then you try to ftp from your own box ... If it works then most likely the filtering is only ... done on ports and not on the contents/protocols. ... listening on ports> 1023 will work. ...
    (alt.privacy)
  • Re: Receive Port no more listening
    ... And have you specified a log file for the FTP receive location? ... might see if the FTP adapter actually stops polling, and if so, when it ... Receive Port no more listening ... There are 4 different receive ports. ...
    (microsoft.public.biztalk.general)
  • Re: opening ports
    ... If a service is listening but blocked by a firewall, ... If it's listening and not blocked, ... FTP is an evil protocol that has many traps. ... Basically when a client switches to passive mode, the FTP server ...
    (Ubuntu)