[Discuss] Trying to connect to internet in Debian

Ron ron at bclug.ca
Fri Jan 16 21:40:04 EST 2026


Randall Rose wrote on 2026-01-16 17:01:

> Of course, if you can recommend a way of finding out which of the thousands of packages that currently are or might later be on my machine could be listening to the network, I would appreciate hearing.  That would be useful information.  I just don't know it.

The tools would be `ss` or `netstat`.

 From `man ss`:

 > ss - another utility to investigate sockets

 > ss is used to dump socket statistics. It allows showing information
 > similar to netstat.  It can display more TCP and state information
 > than other tools.

So, `ss --listen --processes` should show a bunch of info.


I think netstat is considered deprecated but is likely present on your 
systems and can show this stuff too.

`man netstat`:

 > netstat  -  Print  network connections, routing tables, interface
 > statistics, masquerade connections, and multicast memberships

`nestat --listening` looks easier to visually parse than the output of 
`ss` - YMMV.



More information about the Discuss mailing list