Registering public domain to reactJS ip:3000 port

0

I have my EC2 instance running. I have port 3000 open in my security rules and can reach my running ReactJs application on {myIp}:3000 I have purchased a domain from godaddy. how do i get www.mydomain.com to specifically hit {myIp}:3000 .... on my godaddy domain registration it only allows for a public ip address and not a specific port???

Josh
질문됨 8달 전186회 조회
1개 답변
0

Hello.

Register the EC2 public IP address with GoDaddy using A record.

recordtypevalue
www.mydomain.comAEC2 Public IP

Once registered, you can access it on port 3000 by accessing as follows.

www.mydomain.com:3000
profile picture
전문가
답변함 8달 전
profile picture
전문가
검토됨 8달 전

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

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

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

관련 콘텐츠