TCP를 통해 특정 포트에 대한 연결 테스트를 할 수 있는 도구.
ping 은 ICMP 를 통해 단순히 전반적인 네트워크 연결 상태 정도만 확인할 수 있지만
tcping 은 TCP를 통해 ping을 보내기 때문에 특정 포트의 상태 (열림/닫힘) 까지 확인할 수 있는 매우 유용한 도구이다.
443포트가 열려 있는지 확인
D:\>tcping blog.razor1911.xyz 443
Probing 27.0.236.139:443/tcp - Port is open - time=4.351ms
Probing 27.0.236.139:443/tcp - Port is open - time=3.765ms
Probing 27.0.236.139:443/tcp - Port is open - time=4.647ms
Probing 27.0.236.139:443/tcp - Port is open - time=4.130ms
Ping statistics for 27.0.236.139:443
4 probes sent.
4 successful, 0 failed. (0.00% fail)
Approximate trip times in milli-seconds:
Minimum = 3.765ms, Maximum = 4.647ms, Average = 4.223ms
8080은 응답이 없는 것으로 봐서 열려있지 않다.
D:\>tcping blog.razor1911.xyz 8080
Probing 211.249.222.34:8080/tcp - No response - time=2011.309ms
Probing 211.249.222.34:8080/tcp - No response - time=2001.419ms
Probing 211.249.222.34:8080/tcp - No response - time=2005.660ms
Probing 211.249.222.34:8080/tcp - No response - time=2015.562ms
Ping statistics for 211.249.222.34:8080
4 probes sent.
0 successful, 4 failed. (100.00% fail)
Was unable to connect, cannot provide trip statistics.
'OS > Linux' 카테고리의 다른 글
내 외부 IP 확인하기 (0) | 2025.01.17 |
---|---|
[ubuntu] 어플리케이션 단위로 현재 시간 변경하기 - libfaketime (0) | 2025.01.11 |
리눅스에서 파일 EOL 확인하기 (0) | 2023.08.17 |
Linux - screenfetch (0) | 2023.06.13 |
[CentOS] <username> is not in the sudoers file. This incident will reported. (0) | 2023.01.08 |