Sometimes there is a need to use Virtual Private Cloud (VPC) on Cloudhub to forbid connections from outside of the Cloudhub environment.
To increase security, HTTPS protocol is highly recommended. In usual case, the properties defining ports for HTTP/HTTPS are http.port and https.port which Cloudhub translates to 8081 and 8082. However, the usage of VPC requires a different approach. Properties http.internal.port and https.internal.port must be defined instead of http.port and https.port, with values 8091, 8092, and utilized in your HTTP configurations.