env.dev

PORT

The port that Cloud Run injects for your container to listen on. Cloud Run sets this to 8080 by default. Your HTTP server must listen on this port to receive requests. This is distinct from the general PORT convention — on Cloud Run it is always set by the platform.

Provider
Google Cloud
Category
compute
Set by
Automatically set by the Cloud Run runtime
Default
8080
Example
8080
Was this helpful?

Stay up to date

Get notified about new guides, tools, and cheatsheets.

Browse all 242 environment variables →