My Oracle Support Banner

ACCS - How to Set the PORT Environment Variable for a Node.js Application in ACCS? (Doc ID 2404916.1)

Last updated on JUNE 02, 2018

Applies to:

Application Container Cloud - Version N/A to N/A
Information in this document applies to any platform.

Goal

A Node.js application is deployed on the Application Container Cloud Service (ACCS).  This is done as part of the tutorial "Oracle Application Container Cloud Service:  Building a RESTful API with Node.js and Express".  As part of the tutorial, the PORT environment variable needs to be set so that requests for the application redirect to the proper port.  But, the variable is empty and there is no way to set it through the GUI.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.