Quentin123345 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Pubsub emulator should allow listening on any interface #459

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
pubsub emulator only allows 'localhost' binding:

start the emulator and use the option to specify another interface IP:

gcloud beta emulators pubsub  start --host-port 192.168.1.10:8080

you'll see:

ERROR: (gcloud.beta.emulators.pubsub.start) Invalid host. Only "localhost" is 
supported.

What is the expected output? What do you see instead?

it'd listen on that interface if its there

Please provide any additional information below.

allowing it to listen on any interface allows remote clients to easily use a 
local emulator

Original issue reported on code.google.com by sras...@google.com on 5 Jan 2016 at 6:32

GoogleCodeExporter commented 8 years ago
This is a bug with the pubsub emulator, and this issue tracker corresponds to 
the Cloud SDK. Please re-file a bug against the pubsub emulator internally.

Original comment by z...@google.com on 5 Jan 2016 at 7:09