Blog

Projects

Stacks

Snippets

About

List all open ports

View a list of different applications and port/protocol combination in /etc/services

List of services

cat /etc/services

List all open ports

netstat -lntu
# install net-tools if command not found

Where, l – prints only listening sockets, n – shows port number, t – enables listing of tcp ports and u – enables listing of udp ports