LoginSignup
4
2

More than 5 years have passed since last update.

CentOSでポート開放確認する時のメモ

Last updated at Posted at 2017-05-19

telnetをインストールするのが面倒な時は

curl -v telnet://<ipアドレス>:<ポート番号>

# 疎通確認出来ればこんな感じで表示されます
Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 22 (#0)

# 失敗するとこんな感じで表示されます
Failed to connect to xxx.xxx.xxx.xxx port 22: Operation timed out

でOKです。

4
2
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
4
2