NoteDeep
解决80端口被占用的问题。
$ netstat -lnp | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1879/gsad

kill -9 1879


mac解决端口占用

lsof -i tcp:8030

sudo lsof -n -P | grep :80


关闭mac的apache随系统启动
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

评论列表

    mac解决端口占用