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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则