pasting
netstat -lnp 查看端口所在的进程
will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:9999 0.0.0.0:* LISTEN 8604/java