EC2 port for HTTP

0

Hi AWS, is it possible to have two ports 80 and 81 open for HTTP service for Amazon EC2 instance ? I need to launch web app on port 80 and UI on port 81.

If yes how can we do that

profile picture
Arjun
gefragt vor 8 Monaten217 Aufrufe
2 Antworten
0

In addition to the above, make sure your Security Group for the instance has rules for both ports to allow inbound traffic.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor 8 Monaten
  • How do we do this on lightsail?

0

Hello.

If you are using a web server with IIS on a Windows server, please set the port number when adding a site using "Add a Web Site".
https://learn.microsoft.com/en-us/iis/get-started/getting-started-with-iis/create-a-web-site

In the case of Apache, this is possible by setting the listening port in the virtual host settings.
https://httpd.apache.org/docs/2.4/en/vhosts/examples.html

profile picture
EXPERTE
beantwortet vor 8 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