Replies: 1 comment
-
Appreciate the netstat output, that helps a lot. Given the build above, it is likely you'll need to have the service listening on General off-the-record guidance for 19042 (ref #5706, message) would be to eschew I almost commented over in #5706 that running #4150 related scripts doesn't make a lot of sense in the local machine context. YRMV. Folks advocating that are welcome weigh in on the discussion if they like. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Steps to reproduce
I followed the Emulators Code Lab tutorial with a clean pull from git into a new folder. I follow the steps to get the Emulator UI running. There does not appear to be any obvious errors except that after starting the Emulators UI, I'm still unable to access any of the associated webpages e.g.
│ ✔ All emulators ready! View status and logs at http://127.0.0.1:4000
├───────────┼────────────────┼─────────────────────────────────┤
│ Functions │ 127.0.0.1:5001 │ http://127.0.0.1:4000/functions │
├───────────┼────────────────┼─────────────────────────────────┤
│ Firestore │ 127.0.0.1:8080 │ http://127.0.0.1:4000/firestore │
├───────────┼────────────────┼─────────────────────────────────┤
ADDITIONAL INFORMATION
That leads to running a custom script here: #4150 (comment)
After adding additional ports: 22,80,443,8080,10000,3000,4000,5000,5001,8081,8082,4200,3128,4400,4500
However, this also did not seem to work.
I restarted the computer and then verified the WSL install by re-running steps described here
I then installed a completely new Debian distro for WSL2
I installed
I was still unable to access the Emulator UI
I tried multiple browsers (Chrome / Firefox) and multiple variations of 127.0.0.1 / localhost all without luck.
WSL logs:
Expected behavior
Should be able to see the Emulator UI via the Web Browswer
Actual behavior
Unable to access.
Note: I have been debugging with Google's Firebase team for a few weeks and they suggested I post here. @yuchenshi @samtstern
Last Thread
Previous Threads:
Emulator UI does not show up on Windows w/ WSL2 (current 332 workarounds do not work) #377
firestore emulator on wsl2 does not work, results in ERR_CONNECTION_REFUSED #332
Debug
1.
curl http://127.0.0.1:4000andnetstat -nlwithin WSL2 (e.g. using a bash session on Linux)tom-linux@DESKTOP:~$ netstat -nl
Beta Was this translation helpful? Give feedback.
All reactions