[英]how can i directly access my web application deployed in aws tomcat using domain without showing port?
I Want to access my web application in the Amazon Web Service directly through my URL like Service.com but I am using tomcat so, I have to write port number with name Service.com:8090/Login. 我想直接通过我的URL(例如Service.com)访问Amazon Web Service中的Web应用程序,但是我使用的是tomcat,因此,我必须写名称为Service.com:8090/Login的端口号。
Even if I set my port to 80 it will open the tomcat manager page. 即使我将端口设置为80,它也会打开tomcat管理器页面。
There are two possibilities for accessing your Application. 有两种访问应用程序的可能性。
1- if you have deployed your application on AWS Elastic Beanstalk (Tomcat Beanstalk) then it will automatically route your application on Port 80 (default port for HTTP), you just need to configure route53 or can directly access the application via Beanstalk URL 1-如果您已在AWS Elastic Beanstalk(Tomcat Beanstalk)上部署了应用程序,则它将自动在端口80(HTTP的默认端口)上路由应用程序,您只需要配置route53或可以通过Beanstalk URL直接访问应用程序
2- if you have deployed manually, then you have to set a Loadblancer which will route from 80 to 8080. 2-如果您已手动部署,则必须设置一个Loadblancer,它将从80路由到8080。
Reference Link for Setting up Loadblancer:- https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-getting-started.html 为建立Loadblancer参考链接: - https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-getting-started.html
While setting up Loadblancer your Instance Port will be 8080 and make sure your Inbound rule (Security Group) is configured Properly. 设置Loadblancer时,您的实例端口将为8080,并确保正确配置了入站规则(安全组)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.