Skip to content

Can't connect to functions shell when hosting emulator is running #3210

@Hacksore

Description

@Hacksore

[REQUIRED] Environment info

firebase-tools: 9.6.1

Platform: macOS

[REQUIRED] Test case

A project with all the emulators enabled (hosting, pubsub, functions, database, ui) - a good example is https://github.com/Hacksore/firebase-shell-bug

[REQUIRED] Steps to reproduce

See: https://github.com/Hacksore/firebase-shell-bug/blob/master/README.md

[REQUIRED] Expected behavior

I should be able to get the functions shell REPL while the hosting emulator is running.

[REQUIRED] Actual behavior

When all emulators are running via firebase emulators:start you will get a connection error when attempting to firebase functions:shell

Error: Port 5000 is not open on localhost, could not start functions emulator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions