ACCS - How to Set the PORT Environment Variable for a Node.js Application in ACCS?
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.
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.
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 hundreds of Community platforms