How can I expose my EC2 NextJS website?

0

I have created EC2 with MS Windows. I have downloaded and installed NodeJS and:

npx create-next-app@latest npm run build npm start Confirmed that http://localhost:3000 works on the EC2

Set up the IPv4 TCP for port 3000

sgr-07ad45d8794867fac IPv4 Custom TCP TCP 3000 0.0.0.0/0 –

http://ec2-3-25-154-60.ap-southeast-2.compute.amazonaws.com:3000 doesn't work, This site can’t be reached

http://3.25.154.60:3000 doesn't work, This site can’t be reached

I am completely stuck

Wayne
질문됨 4달 전362회 조회
1개 답변
0

Hello.

I think the following blogs will be helpful.
It can be published publicly using a web server such as IIS or Apache.
https://dev.to/petereysermans/hosting-a-node-js-application-on-windows-with-iis-as-reverse-proxy-397b
https://travishorn.com/reverse-proxying-node-js-apps-on-windows-with-iis-acee318b6759

profile picture
전문가
답변함 4달 전

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

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

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

관련 콘텐츠