windows环境下查看端口是否被占用

1. netstat -aon|findstr “8081”

2.  taskkill /pid 9088 -f 

原文地址:https://www.cnblogs.com/shijianchuzhenzhi/p/12147120.html