telnet 測試 使用


要ping的機器:
捕獲telnet數據, 看是否數據有返回
tcpdump host 192.168.0.3 and port 3306

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:18:16.382184 IP 192.168.0.3.48456 > 192.168.0.4.mysql: Flags [S], seq 4254011999, win 29200, options [mss 1410,sackOK,TS val 3886731780 ecr 0,nop,wscale 7], length 0
16:18:51.958653 IP 192.168.0.3.48458 > 192.168.0.4.mysql: Flags [S], seq 2079518222, win 29200, options [mss 1410,sackOK,TS val 3886767358 ecr 0,nop,wscale 7], length 0



telnet機器:
發送telnet 數據
timeout 3 telnet 192.168.0.4 3306

Trying 192.168.0.4...
telnet: connect to address 192.168.0.4: No route to host
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM