MacOS 7.12.1 - Port XXXX is not open, could not start functions emulator
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 7.12.1
Platform:macOS 10.15.2 Catalina
[REQUIRED] Test case
Run emulators:start --only functions
on above environment
[REQUIRED] Steps to reproduce
Run emulators:start --only functions
[REQUIRED] Expected behavior
Expected the emulator to start on port 5001.
[REQUIRED] Actual behavior
Emulator does not start
i emulators: Starting emulators: functions
i Shutting down emulators.
⚠ Port 5001 is not open, could not start functions emulator.
i To select a different port for the emulator, update your "firebase.json":
{
// ...
"emulators": {
"functions": {
"port": "PORT"
}
}
}
i Shutting down emulators.
Error: Could not start functions emulator, port taken.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I shut down the local firebase emulators?
One cross-platform solution is to just run: npx kill-port 4000,8080,8085 ... If you don't want to have to check the port every time,...
Read more >KERMIT USER GUIDE
If Kermit's terminal emulation seems to work correctly, but a file transfer will not start at all, then something in the communication path...
Read more >Hercules V3.10.0 - User Reference Guide - HEUR031000-01
Hercules Emulator V3.10 – User Reference Guide. Page 19. 1.10 Acknowledgements. The Hercules manuals would not have been possible without the assistance of ......
Read more >J-Link / J-Trace User Guide
If you find an error in the manual or a problem in the software, please report it to us and we will try...
Read more >pve-admin-guide.pdf
Proxmox VE is a platform to run virtual machines and containers. ... It does not work with the Proxmox VE installation image. Important....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TomKaltz do things work better if you modify your
firebase.json
to set the emulators host to0.0.0.0
like this:Also encountered the same issue. In my terminal I first ran below command to see a list of processes running that that port.
I then ran below command to kill the process by PID #.
Will try the adjusting the host as above to potentially avoid this issue in the future.