LoginSignup
5
3

More than 5 years have passed since last update.

2015-06-20 win > ポートが開いているか確認する > PortQry2

Last updated at Posted at 2015-06-20

Windows8.1からLinuxのポートの開放確認

PortQryというツールを使う
参考

ダウンロード @ Microsoft

コマンドの例は以下

PortQry.exe -n 192.168.10.5 -r 2718:3141

以下のような結果が返ってくる

TCP port 2718 (unknown service): LISTENING
...
TCP port 3141 (unknown service): FILTERED

(PortQry Test Messageという文字列を送るようだ)。

FILTEREDは開放されていないポート

UDPの確認は以下のようにする 参考

PortQry.exe -n 192.168.10.5 -e 3141 -p UDP

実行結果がUDPの時はLISTENING or FILTEREDになるようだ
参考

If you get a LISTENING or FILTERED response, check and see whether we are checking TCP or UDP, most likely it was attempting to use UDP and this would be a normal response as UDP is connectionless.

追記 2017/12/22

上記のUDP開通確認にて「FILTERED」が表示される場合は、iptablesなどでフィルタされているようだ。

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3