Determine the process pid listening on a certain port

前端 未结 8 1725
孤城傲影
孤城傲影 2021-01-29 23:30

As the title says, I\'m running multiple game servers, and every of them has the same name but different PID and the port number. I would

8条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 23:51

    on windows, the netstat option to get the pid's is -o and -p selects a protocol filter, ex.: netstat -a -p tcp -o

提交回复
热议问题