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달 전225회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠