I have tried to use managed vm to run an web socket server over port 3000 but i can only connect to it via the ip of the instance, and not by my own domain or "appspot" domain.
When i access the app on port 80 i get the right response that the app sends out on port 8080.
my app.yaml:
network:
forwarded_ports:
- 3000
handlers:
- url: /.*
script: server.js
I also enabled the port on the firewall to 0.0.0.0/0.
How can i fix this?
This is currently expected behaviour of the appspot and custom domains front-end servers. Unfortunately, IP-of-instance is what you'll need for now, although I highly recommend you to star the relevant public issue tracker feature request thread, so that it gets higher priority and accelerates the appearance of a solution from the pipeline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With