Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port 5000 taken by Mac OSX #784

Open
lvonk opened this issue Mar 4, 2022 · 1 comment
Open

Port 5000 taken by Mac OSX #784

lvonk opened this issue Mar 4, 2022 · 1 comment

Comments

@lvonk
Copy link

lvonk commented Mar 4, 2022

When starting Rails in using foreman like:

Procfile

web: rails server

It defaults to taking port 5000. On newer osx versions this port is now taken by MAC OSX though, so it won't start (or in some cases do start but the requests go to the airport process): https://www.reddit.com/r/webdev/comments/qg8yt9/apple_took_over_port_5000_in_the_latest_macos/

Of course you can fix this by specifying a -p but I guess the default should be available.

@jon-sully
Copy link

Relevant — this is due to macOS Monterey's new "AirPlay Audio from another Apple device to your Mac Desktop" feature:

https://daily-dev-tips.com/posts/thank-you-apple-for-hijacking-port-5000/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants