Questions tagged [netstat]
analysis tool for statistics about active connections, open sockets, routing tables; in general the networking subsystem.
260 questions
0 votes
1 answer
258 views
Hundreds of strange connections in iftop
OS is Debian. I'm running nginx as a webserver. I am not running Wordpress. Logging is enabled in the http block with: access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ...
0 votes
2 answers
3k views
Where does ss command gather its data for ports etc
When trying to see port clashes within my system, many websites online recommend using /etc/services or ss -tunl to see port info I am noticing /etc/services is providing different information to -ss ...
0 votes
2 answers
328 views
Why using grep for some netstat commands require sudo priv?
System: Ubuntu 20.04.06 net-tools 2.10-alpha grep (GNU grep) 3.4 If I run netstat without sudo I see port information and no process information. This is expected as process information requires ...
1 vote
1 answer
791 views
Can you widen the columns in netstat, specifically "PID/Program name" ...?
There is an old post about line truncation in netstat (Netstat output line width limit) but my question is a bit different. I'm using netstat (net-tools 2.10) on Debian 12. My primary use is to list ...
0 votes
0 answers
155 views
Established but hidden TCP connection
On computer 10.196.111.161, I can see the following established tcp connection: [10.196.111.161]# netstat -natp | grep 7000 Proto Recv-Q Send-Q Local Address Foreign Address State ...
4 votes
1 answer
1k views
How to list the connections of the port forwarded by firewalld?
I have forwarded a port using firewalld, and everything is functioning properly. However, the 'netstat' and 'ss' commands do not display the port opened by firewalld, nor do they show the connections. ...
1 vote
1 answer
111 views
Linux Webserver not "Accepting" Connections
First off, thanks for any help anyone can provide, I greatly appreciate it! I have a basic network I have set up for testing. It has pfSense acting as a Gateway/DHCP/DNS host and two Linux machines ...
1 vote
1 answer
1k views
ss or ip equivalent to netstat -gn to show multicast memberships?
Is there a modern Linux tool that will show the equivalent of netstat -gn to show multicast group memberships? This old command shows output like this: IPv6/IPv4 Group Memberships Interface ...