Tomcat embeded with AWS Elastic Beanstalk won't listen to port 80

0 votes
I'm launching a Spring Boot .jar with Embedded Tomcat to an Elastic Beanstalk (Java) instance.

server.port=80 in the configuration file, however EB won't let Tomcat bind to port 80.

What's preventing Tomcat from listening to port 80 and how do I fix it?
Nov 15, 2018 in AWS by Jino
• 5,520 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You can run your app with sudo as the ec2-user is not allowed to bind to port 80. This is not a good practice obviously for security concerns. Why do you want to listen on port 80? Elastic beanstalk by default will proxy to port 8080

answered Nov 15, 2018 by findingbugs
• 3,140 points

Related Questions In AWS

0 votes
1 answer

How to use AWS CLI with Elastic Beanstalk?

You have to create a source bundle ...READ MORE

answered Sep 28, 2018 in AWS by Archana
• 3,770 points
0 votes
1 answer

AWS Elastic Beanstalk EC2 With Redis - Cannot Connect - Django_Redis

After setting the security group, I found ...READ MORE

answered Aug 22, 2018 in AWS by Priyaj
• 56,120 points
0 votes
1 answer

AWS Elastic Beanstalk - How to increase instance disk capacity?

The 8 GB diskthat you are seeing ...READ MORE

answered Sep 3, 2018 in AWS by anonymous
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.