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

Default port conflicts with Airplay MacOS Monterey #124

Closed
platypusjones opened this issue Nov 19, 2021 · 6 comments
Closed

Default port conflicts with Airplay MacOS Monterey #124

platypusjones opened this issue Nov 19, 2021 · 6 comments
Labels

Comments

@platypusjones
Copy link

platypusjones commented Nov 19, 2021

This was raised in an issue in the Svelte template repo:
sveltejs/template#184

Due to the fact that MacOS Monterey ships with Airplay receiving functionality enabled, port 5000 is blocked unless user disabled. This is most likely going to affect anyone using such a common port (especially Flask, etc.), but from an onboarding perspective, I'm not sure whether asking users to change settings (disabling airplay receiving on their machines or change the port on their end) is enough, or if the default port should be changed out.

@lukeed
Copy link
Owner

lukeed commented Nov 19, 2021

Wow that's incredibly annoying

@kresnasatya
Copy link

I think it would be better if we change sirv port in svelte template instead of disable port 5000 for Airplay in macOS Monterey settings.

@lukeed
Copy link
Owner

lukeed commented Nov 19, 2021

Yes, if this is the case (will verify) then sirv-cli will need to adjust its default. It'd have to be a breaking change, which is fine, because there are some other changes I've been wanting to make.

If someone can leave instructions as to how I can verify that'd be helpful 🙇‍♂️

@platypusjones
Copy link
Author

Changing default would definitely be great!

lsof -i :5000 Should return a ControlCenter process, and can confirm this occurring on latest release 12.0.1.

@lukeed lukeed added the future label Nov 20, 2021
lukeed added a commit that referenced this issue Dec 1, 2021
@Download
Copy link

Just came here from the linked issue. I can testify to the fact that indeed, port 5000 gets blocked by default on Mac OS Monterey. I disabled Airplay Receiver and after that, Svelte's default template project works. Changing the default port for sirv sounds like the best solution, because Apple will most probably not change and lots of devs are on Apple these days.

@Download
Copy link

Also, maybe good to link this one:
sveltejs/template#181

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

No branches or pull requests

4 participants