我正在尝试在端口80上的Macbook上运行我的节点服务器并且它一直给我这个错误:
EADDRINUSE : Looks like port 80 is in use
当我运行sudo lsof -i :80
时,我明白了:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Google 7978 worklaptop 168u IPv4 0x2cc8fb4019190baf 0t0 TCP 10.0.98.217:56534->151.101.32.188:http (ESTABLISHED)
Google 7978 worklaptop 170u IPv4 0x2cc8fb4020e369bf 0t0 TCP 10.0.98.217:56535->151.101.32.188:http (ESTABLISHED)
httpd 45908 root 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 45914 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 45915 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 45916 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 45917 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 45918 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 46011 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 46027 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 46028 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 46029 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
httpd 46030 daemon 10u IPv6 0x2cc8fb3ffd315087 0t0 TCP *:http (LISTEN)
当我杀死谷歌进程时,它只关闭了我的Chrome浏览器..不知道这里发生了什么?
答案 0 :(得分:0)
它是/home/MF/NA/CD/VI/inbound/vis,1492716168
/home/MF/NA/CD/AB/inbound/abc,1492716485
网络服务器。它默认出现在MacOS上。
您可以通过在终端apache2
您也可以通过命令
sudo apachectl stop