'How to remove port number from url using aws

I am using AWS. I am using springboot, route53 and ec2. I need to connect to my domain name via browser. Right now I am able to connect like this

http://domainName.com:8080 but I dont need to include 8080 in my url.

I want to connect to domain like this

http://domainName.com



Solution 1:[1]

Can you try the following setting in the load balancer? After doing so, when you will open the site with HTTP://xyz without port number 8080, it will by default take 80 ports. After that, this rule will redirect it with 8080 port and this rule will redirect it with http://domainName.com:8080

LBR Rule

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 helper