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

MacOS Monterey uses port 5000 for Airplay Receiver #653

Closed
Drblessing opened this issue Jan 28, 2022 · 3 comments
Closed

MacOS Monterey uses port 5000 for Airplay Receiver #653

Drblessing opened this issue Jan 28, 2022 · 3 comments
Labels
codelab related to a typo or problem in a Codelab

Comments

@Drblessing
Copy link

Drblessing commented Jan 28, 2022

Codelab info

Firebase web codelab - step 5

Project setup

Directory: web-start
Operating System: macOS Monterey Version 12.2

Describe the problem

The Airplay Receiver sharing functionality uses port 5000 and is enabled by default. Therefore, the command firebase serve --only hosting does not work, and going to it, the user will receive the HTTP error 403 Forbidden.

Suggested fix

Serve it on a different port. For instance: firebase serve --only hosting --port 5005 and then try the app on http://localhost:5005. You can also disable Airplay Receiver, and it will work as intended.

@Drblessing Drblessing added the codelab related to a typo or problem in a Codelab label Jan 28, 2022
@clwest
Copy link

clwest commented Apr 18, 2022

Thank you!

@jhuleatt
Copy link
Contributor

Thanks for posting a workaround @Drblessing! The Firebase CLI can now detect this issue and automatically pick another port, starting in version 10.7.0 (if you're interested in the specifics of the fix, take a look at firebase/firebase-tools#4415).

@Drblessing
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codelab related to a typo or problem in a Codelab
Projects
None yet
Development

No branches or pull requests

3 participants