App Engine Standard - app:invalid port 8080

915 views
Skip to first unread message

Zhen Yang C.

unread,
Feb 6, 2022, 11:41:31 AM2/6/22
to Google App Engine
Hello, 

I'm trying to deploy my react app to app engine using port 8080.

The logs payloads as below:
1. textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network connection open. Subject:"app/invalid" Address:127.0.0.1:8080"
2.  textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network connection open. Subject:"app/valid" Address:127.0.0.1:8081"

NGINX started on port 8080.

I'm keep getting CANNOT GET/ from gcloud app browse.

I could not find any resources about app:invalid issue, I do not how to approach this issue.

What should I do now?


 

Jason Collins

unread,
Feb 6, 2022, 9:02:54 PM2/6/22
to Google App Engine
That's a pretty misleading message; don't worry about it.

If you bind to $PORT, you'll get an nginx instance running in front of your application.
If you don't want the nginx instance, you can bind directly to port 8080.

George (Cloud Platform Support)

unread,
Feb 7, 2022, 12:45:43 PM2/7/22
to Google App Engine
For related detail, you may check the "Application startup" sub-chapter of the "Node.js Runtime Environment" page. 

Zhen Yang C.

unread,
Feb 7, 2022, 12:55:13 PM2/7/22
to Google App Engine
Sorry about the message.

Thank you for the information.
I will try to bind directly to port 8080.

Thanks Jason

Jason Collins

unread,
Feb 7, 2022, 8:30:37 PM2/7/22
to Google App Engine
To be clear: I meant the App Engine message was pretty misleading. Your message was fine. :)
Reply all
Reply to author
Forward
0 new messages