Multiple HTTP ports on Lightsail

0

Hi, I'm trying to install a reactjs > laravel combination app. The one working is on port :80 is where I point my reactjs app. I created port :81 for my laravel api but I can't seem to make this one work.

Things I tried:

  1. Setup Apache VirtualHost (https://httpd.apache.org/docs/2.4/en/vhosts/examples.html)
  2. Add port 81 at Lightsail > Instance > Networking > Firewall
GP
posta 5 mesi fa173 visualizzazioni
1 Risposta
0

Hello.

How about checking if you can listen on port 81 using the command below?

sudo lsof -i :81
profile picture
ESPERTO
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande