What is using Port 5000 on macOS Monterey? | utf9k
I’ve been fiddling a bit with Wails recently and I gave the unreleased v2 alpha a try. Out of the box, it binds to Port 5000 and I was surprised to receive a 403 Forbidden. Definitely not what I expected. We can use the lsof utility to figure out what’s holding on to Port 5000. You’ll see in the screenshot below that I use a shell function called whomport but under the hood, it’s running lsof -nP i4TCP:5000 | grep LISTEN.