Ports

Ports

Vizalo Managed Apps are one of the few platforms that supports multiple ports for one application. We do this by creating a domain for each port meaning that by making a request to that domain you will be connecting to that port.

Let's take a look at an example Node.js application which has two ports we want to open 4000 and 5000. We use one for our REST API and one for Websockets. When we create the application, call it app-0 and deploy it in Vizalo we specify both the ports. Vizalo will now generate two domains which are bother secured with TLS,

  1. app-0-4000-<random-string>.ap.vizalo.cloud for port 4000
  2. app-0-5000-<random-string>.ap.vizalo.cloud for port 5000

Both of these domains are secured via HTTPS and you can always point your own domain at these domains.

Table of Contents