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
gefragt vor 5 Monaten174 Aufrufe
1 Antwort
0

Hello.

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

sudo lsof -i :81
profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen