-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
Description
When switching from Linux to OSX for development, I run into this issue when launching a control plane in the development mode:
panic: listen tcp 0.0.0.0:5000: bind: address already in use
We run HTTP metrics on port 5000 as defined in the app/controlplane/configs/config.devel.yaml
file.
In the latest versions of OSX, the AirPlay service process uses the 5000 port as well.
lsof -i :5000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ControlCe 1081 d 7u IPv4 0x4dfbc9201515d62b 0t0 TCP *:commplex-main (LISTEN)
ControlCe 1081 d 8u IPv6 0x4dfbc9201439e933 0t0 TCP *:commplex-main (LISTEN)
There is a way to change it in System Preferences/Sharing
by unchecking the AirPlay Receiver to fix the issue, but I think we better change this port or adequately document it.