# 先查看进程号
ps -ef | grep 进程名

# 查看进程占用的端口号
netstat -nltp | grep 进程号