Quantcast
Channel: プログラム の個人的なメモ
Viewing all articles
Browse latest Browse all 860

【Linux】【コマンド】 ポートに関するコマンド

$
0
0

■ 特定のポートをオープンしているプロセスを調べる

http://blogs.yahoo.co.jp/dk521123/34704299.html
より抜粋

# 特定のポートをオープンしているプロセスを調べる
lsof -i:【ポート番号】

■ 使用ポート一覧を表示

SSコマンド

ss -tln

State       Recv-Q Send-Q Local Address:Port               Peer Address:Port
LISTEN      0      128             *:80                          *:*

■ 使用ポートが動作しているかを調べる

netstatコマンド

netstat -anp | grep "LISTEN " | grep 【ポート番号】

関連記事

ネットワーク系のコマンド

http://blogs.yahoo.co.jp/dk521123/36257284.html

IPアドレスに関するコマンド

https://blogs.yahoo.co.jp/dk521123/36412835.html

Viewing all articles
Browse latest Browse all 860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>