Netstat

From MineOS Wiki
Jump to navigation Jump to search

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

<syntaxhighlight>

  1. 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 </syntaxhighlight>