【问题标题】:How to map java web application to domain name in Linux server [closed]如何将Java Web应用程序映射到Linux服务器中的域名[关闭]
【发布时间】:2016-11-24 13:15:04
【问题描述】:

我将我的 java web 应用程序放在 linux 服务器的 tomcat7 webapps 文件夹中。

我的应用程序使用端口号 8080 运行,我的应用程序 url 是 http://xxxx:8080/xxxx/#/

如何将应用映射到域名http://xxxx.in

【问题讨论】:

标签: java linux apache tomcat7


【解决方案1】:

下面的答案应该就是你所需要的:
How to change the port of Tomcat from 8080 to 80?
Deploying my application at the root in Tomcat

在您执行上述任何操作之前,您应该停止 Apache HTTPD(而不是 Apache Tomcat),因为它已经在端口 80 上运行(而您实际上并不需要它)。

【讨论】:

  • 如何停止 Apache HTTPD?
【解决方案2】:

检查 /etc/rc.d/init.d/ 目录中的可用服务并使用命令 stop (servicename) 停止它

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-09-06
    • 1970-01-01
    • 1970-01-01
    • 2011-06-16
    • 1970-01-01
    • 1970-01-01
    • 2017-08-26
    • 2013-06-21
    相关资源
    最近更新 更多