question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Emulator UI not serving UI when open in port 6000

See original GitHub issue

[REQUIRED] Environment info

firebase-tools: 8.4.0

Platform: macOS 10.15.4 (19E287)

[REQUIRED] Test case

I just initialized a new project, chose port 6000 for the UI and started the emulators, I got the following in the console:


β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Emulator  β”‚ Host:Port      β”‚ View in Emulator UI             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Functions β”‚ localhost:5011 β”‚ http://localhost:6000/functions β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Firestore β”‚ localhost:8100 β”‚ http://localhost:6000/firestore β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Hosting   β”‚ localhost:5010 β”‚ n/a                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

But when accessing http://localhost:6000/ I got a message from Chrome saying the site is offline:

This site can’t be reachedThe webpage at http://localhost:6000/functions might be temporarily down or it may have moved permanently to a new web address.

I tried running lsof -i :6000 and found no process listening on that port.

But, when changing the port to 9292 the UI did load.

[REQUIRED] Steps to reproduce

See above.

[REQUIRED] Expected behavior

I see the UI

[REQUIRED] Actual behavior

UI isn’t loaded

See logs:

firebase-debug.log ui-debug.log firestore-debug.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
samtsterncommented, Jun 2, 2020

@dutzi good find! Maybe we can use that list to add a warning to the UI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to access firebase emulator UI - Stack Overflow
In case anyone is using docker for the emulator and trying to access it from the host using port mappingsΒ ...
Read more >
Set up Android Emulator networking
The emulator provides versatile networking capabilities that you can use to set up complex modeling and testing environments for your app.
Read more >
I am able to ping and telnet my NPort from a host ... - Moxa
Connect to your NPort's web UI by entering the IP address of the NPort in a browser and make sure that your NPort...
Read more >
List of TCP and UDP port numbers - Wikipedia
Port TCP UDP 1024 Reserved Reserved 1025 Yes Yes 1027 Reserved
Read more >
XDS Emulation Software (EMUPack) Download
Deprecation notice: Please be aware this page is no longer being ... HTML5 Trace Visualization Toolkit: The SWO Trace configuration UI ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found