Netstat

From MineOS
Jump to: navigation, search

Netstat is used to determine which ports are accessible to the outside world.

# netstat -ntulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:25565           0.0.0.0:*               LISTEN      8024/java
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      601/sshd