解决端口被占用:That port is already in use

Q: Error: That port is already in use

A: 端口被占用,查找占用此端口的进程并终止,步骤如下:

  1. 查找进程,查询结果如下图
     lsof -i tcp:8000
    
image-20181127113218736-3289538.png
  1. 终止进行
   kill -9 17096

你可能感兴趣的:(解决端口被占用:That port is already in use)