Port errors when starting firebase emulators

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 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?