简体   繁体   English

我如何使用域直接访问部署在AWS tomcat中的Web应用程序而不显示端口?

[英]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.

相关问题 如何在没有任何端口的情况下直接使用 url 访问我的 spring 启动 web 应用程序? - How can I directly use url to access my spring boot web application without any port? 如何在不提供端口号的情况下使用域名访问tomcat应用程序 - How to access tomcat application with domain name without giving port number 如何从部署在其上的Java Web应用程序访问tomcat日志文件? - How can I access tomcat log files from Java web application deployed on it? 无法使用Godaddy域名访问tomcat部署的Java Web应用程序 - Unable to access tomcat deployed java web application using godaddy domain name 如何直接在 localhost:8080 中打开我的 web 应用程序而不是 tomcat 主页 - How can I open my web application in localhost:8080 directly instead of tomcat home page 使用 aws amplify 时,如何在没有任何 api 的情况下直接访问 aws dynamodb? - How can i access aws dynamodb directly without any api when am using aws amplify? 无法访问部署到Tomcat的应用程序 - Can not access application deployed to Tomcat 我可以在不提供URL端口的情况下访问Springboot应用程序吗? - Can I access my Springboot application without providing the port in the URL? 第一次访问时,部署在tomcat上的Web应用程序运行缓慢吗? - Web application deployed on tomcat is slow on first access? 如何对部署在 Tomcat 上的 Jersey Web 应用程序进行单元测试? - How can I unit-test a Jersey web application deployed on Tomcat?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM