database: Port 9000 is not open on localhost, could not start Database Emulator.
See original GitHub issueAfter upgrading right now to firebase-tools 8.7.0 I get the error above when running firebase emulators:start --inspect-functions
.
This is on Windows 10.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Firebase serve error: Port 5000 is not open. Could not start ...
I'm trying to serve firebase functions locally, but when I run firebase serve or firebase emulators ...
Read more >Port 8080 is not open on localhost, could not start Firestore ...
This error is because of the failed quitting from firebase emulator. You already have the process of previous firebase emulator.
Read more >Install, configure and integrate Local Emulator Suite - Firebase
This command starts a configuration wizard that lets you select emulators of interest, download the corresponding emulator binary files, and set emulator ports...
Read more >Emulating Databases Locally
The emulators behave just like the real Firebase services but are run on your own ... Port 9000 is not open on localhost,...
Read more >How to configure Firebase emulators with Next.js?
Before you launch the emulators, you'll have to configure (and download) ... Database │ localhost:9000 │ http://localhost:4000/database ...
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
just type
npx kill-port 9000
in the terminal then start the emulator again and it worksFor me, the command
$firebase emulators:start
would showPort 9000 is not open on 127.0.0.1, could not start Database Emulator
because I have forced the Emulator Suite to exit before waiting for subprocess to finish.The terminal show the processes that may still be running on your machine
so executing
$kill 373
would stop the process, then run the$firebase emulators:start
againPS: I am using WSL2 Ubuntu 20.04.3 LTS