如何关闭tomcat占用的端口号

windows: 1.执行命令:netstat -ano | findstr 8081 2.执行命令:taskkill -f -pid 1988 --------------1988为pid进程 linux: 1.执行命令:ps aux | grep tomcat 或者 ps -ef | grep tomcat 2.执行命令:kil 1988 -----------------1988为pid进程
相关文章
相关标签/搜索