It is required to listen on port 8080 
<https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build#listen_to_port_8080>
 
as App Engine will route all 'appspot.com' requests to this port. If your 
application does not listen on port 8080, the nginx webserver in front of 
your application will return a 502 Bad Gateway error to the Load Balancer 
since it cannot connect to your application.

If you instead wish to use a different port, you must follow the Port 
Forwarding guide 
<https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#port_forwarding>;
 
note that this is only used for direct IP connections to an App Engine 
instance and will not change 'appspot.com' request behavior.

- Note that Google Groups is reserved for general product discussions and 
is not for technical support. For further technical support in getting your 
application code to run on App Engine, it is recommended to post your 
detailed questions <https://stackoverflow.com/help/how-to-ask> to Stack 
Exchange <https://cloud.google.com/support/docs/stackexchange> using the 
supported Cloud tags. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3c2091eb-b967-4ae0-a375-bdba1f917c35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... robinwu8080
    • [google-appen... 'Jordan (Cloud Platform Support)' via Google App Engine

Reply via email to