リッスンポートだけ表示する

Windowsコマンドプロンプト

netstat /na | find "LISTEN"

Linux

netstat -nalt | grep LISTEN