1.netstat -tln 查看端口使用情况
2.netstat -tln | grep 1099 则是只查看端口1099的使用情况
3.lsof -i :1099 查看端口对应的进程
4. kill -9 进程id