deploy app on appengine on port 8761

前端 未结 1 669
攒了一身酷
攒了一身酷 2021-01-05 16:20

I\'m deploying a Java app that runs on port 8761, and works fine on localhost.
Although when I push to App Engine flexible environment, I get a HTTP 502 server error.

相关标签:
1条回答
  • 2021-01-05 17:13

    I think you need to use the network settings section in the app.yaml config file:

    network:
      forwarded_ports:
        - 8761/tcp
    

    You might also need to set firewall rules in the Cloud Platform Console.

    0 讨论(0)
提交回复
热议问题