Hosting multiple Vapid sites on DigitalOcean droplet


I’ve been having trouble getting different sites running on my droplet. Is there any way to change ports so they are not conflicting? Starting one, then trying to start the other I get port in use error


@Hadr619 Yes, you can either set a PORT environment variable, or if you want to hard-code the port, you can add it as an option in your package.json file. e.g.,

  "name": "example",
  "vapid": {
    "port": 4567


awesome, was just learning about the environment variables. This helped a lot