Websocket port for google controlled by vm

I tried using managed vm to start the web socket server through port 3000, but I can only connect to it through the ip of the instance, and not by my own domain or in the "appspot" domain.

When I access the application on port 80, I get the correct response that the application sends to port 8080.

my app.yaml:

network: forwarded_ports: - 3000 handlers: - url: /.* script: server.js 

I also enabled the port on the firewall at 0.0.0.0/0.

How can i fix this?

+5
source share
1 answer

The behavior of front-end application servers and user domains is currently expected. Unfortunately, an IP instance is what you need now, although I highly recommend that you display the relevant subject of the public issue tracking request , so that it gets a higher priority and speeds up the appearance of the solution from the pipeline.

+3
source

All Articles