sudo su root
Description: Web server failed to start. Port 9090 was already in use. Action: Identify and stop the process that's listening on port 9090 or configure this application to listen on another port.
今天敲代码的时候,遇到了一个bug:服务器内部端口被占用了,如何解决
原文链接:
Linux查看端口号命令_linux端口查看命令-CSDN博客
如何查询端口
netstat -tuln;
输入之后可以查询端口了
关闭指定端口命令
fuser -k 3306/tcp