IBM Web Sphere Application Server Liberty Profile ver 17.0.0.2中的主机名设置

问题描述 投票:0回答:1

我在Linux CentOs7中安装了IBM TRIRIGA Application Platform 10.5.3。在安装TRIRIGA安装程序时,我选择了IBM Web Sphere Application Server Liberty Profile 17.0.0.2的嵌入式服务器。服务器已成功安装并启动并运行。

从Log我发现可以访问IBM Tririga的服务器主机就像URL:qazxsw poi。这是默认情况下采用的。我没有提供这个值。

我的问题是:如何更改此网址名称?在哪里设置?

谢谢Kumar Shorav

ibm-cloud virtualhost websphere-liberty open-liberty
1个回答
2
投票

每个Liberty服务器都有一个server.xml文件,其中包含服务器的配置。我不确定Tririga嵌入Liberty或其server.xml的位置,但如果您可以找到此文件,您应该看到如下条目:

http://some.static.ab-xyz.com:8001

这个属性<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="8001"/> 将配置HTTP端点以侦听物理机器正在运行的所有可用网络接口(例如host="*"localhost)。如果要使用自定义主机名(如some.static.ab-xyz.com)使服务器可用,则需要向DNS提供商注册。

© www.soinside.com 2019 - 2024. All rights reserved.