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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ