2014年2月22日 星期六

[Linux]TCP/UDP Port是否有在使用

要知道TCP/UDP Port使用有被占用,可使用telnet
TCP
telnet ip port
有人使用會出現
Escape character is '^]'
UDP
nc -zu ip port
有人使用會出現
Connection to ip port [udp....] succeeded

沒有留言:

張貼留言