You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the server in pstest listens on localhost . This limits its accessibility to the local machine only, making it difficult to access the server from outside the container or other machines. In a Dockerized environment, this prevents external clients or other containers from communicating with the server. It would be easier to test and interact with the app if the server could be configured to listen on 0.0.0.0, allowing it to be accessed externally.
Describe the solution you'd like
I would like to see an option like another method to make the server listen on 0.0.0.0 instead of localhost.
For example:
The code that configures what address to listen on is actually in NewServerWithPort, defined in internal/testutil/server.go. Since this affects more than just Pub/Sub, @codyoss or @quartzmo, wdyt about expanding that test package to support listening on custom addresses?
Is your feature request related to a problem? Please describe.
Currently, the server in
pstest
listens onlocalhost
. This limits its accessibility to the local machine only, making it difficult to access the server from outside the container or other machines. In a Dockerized environment, this prevents external clients or other containers from communicating with the server. It would be easier to test and interact with the app if the server could be configured to listen on 0.0.0.0, allowing it to be accessed externally.Describe the solution you'd like
I would like to see an option like another method to make the server listen on 0.0.0.0 instead of localhost.
For example:
Describe alternatives you've considered
You may wonder why I need to containerize it? It's because the pubsub-emulator works not stably in our case.
The text was updated successfully, but these errors were encountered: