You are not logged in.

#1 2018-10-13 02:18:59

Ekzel
Member
Registered: 2018-09-17
Posts: 4

Why are all my ports showing up as "closed" if iptables isn't running?

I started up ftpd and did all the necessary configuration for the server, setting up a user account and chroot jail and everything.  I did an NMap scan of localhost and it still shows all ports as closed, even though there is a server listening on port 21.  My understanding is that a port will be open if 1) there is an application listening on that port, and 2) the port is not blocked by a firewall.  Since ftpd is running and iptables is not running (at least as far as I have been able to verify), it seems the port should be open.  What is missing from this picture?

Offline

#2 2018-10-13 03:01:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: Why are all my ports showing up as "closed" if iptables isn't running?

What ftpd did you install?  Did you start the service?  What is the `systemctl status` output of the service?  Is there anything about your ftpd in the journal?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

Board footer

Powered by FluxBB