当前位置:网站首页>Port occupied 1

Port occupied 1

2022-04-23 13:50:00 It only supports modification once a month

windows

netstat -ano |findstr "8080"

taskkill -PID Process number -F

linux

View all active port numbers and processes id And program name :  netstat -anp

Query whether a single port is in use :  netstat  -anp |grep 3306

lsof(list open files) Is a list of the current system open file tools .

lsof -i:3306

netstat -ltunp View port and corresponding pid

 

版权声明
本文为[It only supports modification once a month]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230556158316.html