[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the best way to turn off the iptables



>
> Maybe nobody is listening to that ports?
>
> What does
>
> netstat -plunt
>
> returns you?

# nc -l -p 5000

# netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*
LISTEN      21635/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*
LISTEN      1871/cupsd
tcp        0      0 127.0.0.1:25            0.0.0.0:*
LISTEN      2250/exim4
tcp        0      0 0.0.0.0:5000            0.0.0.0:*
LISTEN      5484/nc
tcp        0      0 0.0.0.0:9418            0.0.0.0:*
LISTEN      3335/git-daemon
tcp6       0      0 :::80                   :::*
LISTEN      1704/apache2
tcp6       0      0 :::22                   :::*
LISTEN      21635/sshd
tcp6       0      0 :::9418                 :::*
LISTEN      3335/git-daemon
udp        0      0 0.0.0.0:24456           0.0.0.0:*
         21574/dhclient
udp        0      0 0.0.0.0:68              0.0.0.0:*
         21574/dhclient
udp        0      0 172.21.48.102:123       0.0.0.0:*
         2677/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*
         2677/ntpd
udp6       0      0 :::3832                 :::*
         21574/dhclient
udp6       0      0 fe80::ca2a:14ff:fe0:123 :::*
         2677/ntpd
udp6       0      0 :::123                  :::*
         2677/ntpd



>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20120706103414.3517bba3@bruno.vf-online.local">http://lists.debian.org/[🔎] 20120706103414.3517bba3@bruno.vf-online.local
>


Reply to: