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 个月前183 查看次数
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 个月前

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

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

回答问题的准则