Open
Description
The documentation should mention that you should get the address of your local machine and providing that when you connect to the emulator in code.
e.g https://firebase.google.com/docs/reference/js/database.md#connectdatabaseemulator_27b9e93
This medium article filled in the gaps.