Port errors when starting firebase emulators

Hi,
I initialized firebase emulators with the default options, but when I start the emulator I am getting errors like below:

:warning: hub: Error when trying to check port 4400 on ::1: Error: listen EADDRNOTAVAIL: address not available ::1:4400
:warning: hub: Port 4400 is available on 127.0.0.1 but not ::1. This may cause issues with some clients.
:warning: hub: If you encounter connectivity issues, consider switching to a different port or explicitly specifying “host”: “” instead of hostname in firebase.json

Is there a guideline to start firebase emulators in an idx project?

I get exactly these errors too and when my app runs it insists on using my firebase data in the cloud instead of the emulator data. The exact same project running in android studio successfully uses the firebase emulators. When I bring up the 127.0.0.1 URL for firebase emulator auth it shows there are no signed up users but I am importing from some previously exported auth data that does have an authenticated user - so the import isn’t working but it works perfectly in android studio.