Check open ports
If you want to check open ports on your Linux device, you can use the ss command (socket statistics). Older versions may use netstat.
ss
Example:
ss -tulpen
Flags:
-t→ TCP-u→ UDP-l→ nur listening sockets-p→ Prozess anzeigen-e→ erweiterte Infos-n→ keine DNS-Auflösung (schneller)