1. 开启测试端口
nc -tl 2333 &
2. 查看测试端口
netstat -an | grep 2333
3. 关闭测试端口
ps -ef | grep -v grep | grep nc
nc -tl 2333 &
2. 查看测试端口
netstat -an | grep 2333
3. 关闭测试端口
ps -ef | grep -v grep | grep nc
转载于:https://blog.51cto.com/lengxuezhixuan/1322278