Skip to content

Prevent cats.node.cli:Port clash with macOS's AirPlay Receiver / Set CAT_NODE_PORT to another port #210

Description

@JEJodesty

Error:
ERROR:cats.node.cli:Port 127.0.0.1:5000 is in use by a non-cats.node process (common on macOS: AirPlay Receiver on 5000). Set CAT_NODE_PORT to a free

Temporary Workaround:

  • Turn off AirPlay Receiver in macOS's Settings Application

Steps to Reproduce Error:

(base) user@macBookAir cats % make node-up
uv run python data/input/structure/infrastructure/content_store_utils.py ensure
uv run python -m cats.node start
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:5001
DEBUG:urllib3.connectionpool:http://127.0.0.1:5001/ "POST /api/v0/id HTTP/1.1" 200 None
ERROR:cats.node.cli:Port 127.0.0.1:5000 is in use by a non-cats.node process (common on macOS: AirPlay Receiver on 5000). Set CAT_NODE_PORT to a free port, e.g. `CAT_NODE_PORT=5002 make node-start`.
make: *** [node-start] Error 1

Laptop: MacBook Air (2020)

  • OS: macOS - Sonoma 14.5
  • Python Version: ?
  • Memory: 8G
  • CPU: Apple M1
  • Serial #: HRTJMJCJ1WFV

Acceptance Crieteria:

  • make node-up doesn't produce the error while AirPlay Receiver is Turned on

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfunctionalitySystem functionality

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions