Port 7000: What's Using It and Is It Safe to Close?

Port 7000 is used by macOS AirPlay Receiver (and Cassandra). Here's what listens on it, whether it's safe to close, and how to check.

Port 7000 is the companion to port 5000 in the macOS AirPlay story. On modern macOS it’s used by AirPlay Receiver, and it occasionally collides with development tools that also default to 7000.

What typically listens on port 7000

  • AirPlay Receiver (macOS Monterey and later): Apple’s AirPlay Receiver, part of the ControlCenter process, uses 7000 along with 5000 to receive streams. This is on by default.
  • Apache Cassandra: The database uses 7000 for inter-node communication, so a local Cassandra setup can claim it.
  • Other dev tools: A handful of services default here.

So on a typical Mac, 7000 in use is AirPlay, not a leftover server.

Is it safe to close?

It depends on the owner. If lsof shows ControlCenter, that’s AirPlay Receiver, a system process you shouldn’t force-quit. Turn the feature off instead:

System Settings > General > AirDrop & Handoff > AirPlay Receiver (off).

That frees 7000 and 5000 together. If the owner is Cassandra or another tool you installed, stopping that tool is fine.

Is it suspicious?

No. On macOS, 7000 in use is almost always AirPlay Receiver. Confirm the owner before doing anything; the command below shows it.

How to find what’s on port 7000 on macOS

lsof -i :7000

If it’s AirPlay, disable it in settings rather than killing the process. If it’s your own dev tool, kill it by PID:

kill $(lsof -ti :7000)

Portie shows port 7000 with the exact app that owns it, so you can tell instantly whether it’s AirPlay or a service you can safely stop.

Common questions

Why is port 7000 in use on my Mac?

On macOS Monterey and later, AirPlay Receiver (part of the ControlCenter process) uses port 7000 alongside 5000. That's the usual reason it's open. Run lsof -i :7000 to confirm.

Is it safe to kill whatever is on port 7000?

If it's AirPlay Receiver (ControlCenter), don't force-kill it. Turn AirPlay Receiver off in System Settings > General > AirDrop & Handoff instead. If it's a dev tool like Cassandra, stopping that tool is fine.

How do I free port 7000 for a dev server?

Disable AirPlay Receiver in settings, which frees both 7000 and 5000, or run your server on a different port.

Try Portie Free

See every open port on your Mac, which app owns it, and kill processes from the list.

Download Free