Your app needs to listen on the port assigned to it. It can find this
information by looking at the environment variable named `PORT` and reading
the value out of that (it will be the port number). If your app is being
run by Diego, which is pretty much all CF installations now, the port
number will be 8080. You can get by with just manually configuring the
port to 8080, but technically you should read the port number from the PORT
environment variable as it could potentially change in the future.
Hope that helps!
On Thu, Sep 14, 2017 at 4:30 AM, Ushani Balasooriya <ushanib(a)gmail.com>