Disable open ports
Updated Mar 11, 2022 ·
Check open ports
Use the netstat command to see the open ports:
netstat -an | grep -w LISTEN
Once we have the list of open ports, determine what they are use for. To do this, check the /etc/services
file. The command below is applicable on Ubuntu systems.
Ports used by Kubernetes
Kubernetes requires specific ports for communication between its components.