• Home
  • Health
  • Software
  • Blog
  • mac

    Port 5000 Used by control-center in MacOS

    Solution from here:

    https://nono.ma/port-5000-used-by-control-center-in-macos-controlce


    If port 5000 is being used, and you don't know why, it might be Control Center. Test it by doing:


    lsof -i :5000
    # prints out:
    ControlCe 514 username   16u  IPv4 0xabcd      0t0  TCP *:commplex-main (LISTEN)
    ControlCe 514 username   17u  IPv6 0xabcd      0t0  TCP *:commplex-main (LISTEN)
    


    The process running on this port turns out to be an AirPlay server. You can deactivate it in System Preferences › Sharing, and unchecking AirPlay Receiver to release port 5000.