这是我尝试过的,但似乎不起作用:
[root@ ~]# netstat -a|grep 48772
udp 0 0 *:48772 *:*
[root@ ~]# telnet localhost 48772
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
答案1
你可以使用 netcat 来代替:
nc -u localhost 48772