How can I kill whatever process is using port 8080 so that I can vagrant up?

后端 未结 11 1720
鱼传尺愫
鱼传尺愫 2020-12-07 07:13

On MacOSX, I\'m using Packer to build a Vagrant box so I need to continually bring it up and tear it down. I\'m attempting to \'vagrant up\', and receive the standard error

11条回答
  •  情歌与酒
    2020-12-07 07:54

    Run: nmap -p 8080 localhost (Install nmap with MacPorts or Homebrew if you don't have it on your system yet)

    Nmap scan report for localhost (127.0.0.1)

    Host is up (0.00034s latency).

    Other addresses for localhost (not scanned): ::1

    PORT STATE SERVICE

    8080/tcp open http-proxy

    Run: ps -ef | grep http-proxy

    UID PID PPID C STIME TTY TIME CMD

    640 99335 88310 0 12:26pm ttys002 0:00.01 grep http-proxy"

    Run: ps -ef 640 (replace 501 with your UID)

    /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/XPCServices/com.apple.PerformanceAnalysis.animationperfd.xpc/Contents/MacOS/com.apple.PerformanceAnalysis.animationperfd

    Port 8080 on mac osx is used by something installed with XCode SDK

提交回复
热议问题