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
已提問 8 個月前檢視次數 217 次
2 個答案
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
專家
kentrad
已回答 8 個月前
  • 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
專家
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南