Wildfly 远程访问管理控制台不起作用

编程入门 行业动态 更新时间:2024-10-26 01:17:47
本文介绍了Wildfly 远程访问管理控制台不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是 WildFly/JBOSS 的新手.我正在使用 WildFly 8.2.0.我已经使用 sukharevd/wildfly 的安装脚本将它安装为 Linux 上的服务-8-installation.html.一切正常.我使用 SSH 远程连接到我的 Linux.它没有图形用户界面.所以我需要能够远程连接到管理控制台.我无法连接并显示以下消息:

I am new to WildFly/JBOSS. I am using WildFly 8.2.0. I have installed it as a service on Linux using an installation script from sukharevd/wildfly-8-installation.html. Everything works fine. I connect to my Linux remotely using SSH. It doesnt have GUI. So I need to be able to remotely connect to administration console. I cannot connect and it shows the following message:

当前无法自动重定向到管理控制台.这很可能是因为管理控制台暴露在与您所连接的网络接口不同的网络接口上."

"An automatic redirect to the Administration Console is not currently available. This is most likely due to the administration console being exposed over a network interface different from the one to which you are connected to."

我看到以下链接中提到的相同问题

I see the same issue mentioned in the following link

github/jboss-dockerfiles/wildfly/issues/3

该链接有解决方案,但它使用了docker".如何在不使用 docker 的情况下做到这一点?我正在使用独立配置.我需要更改什么配置?

The link has solution to it but it uses "docker". How can I do it without using docker? I am using standalone configuration. What configuraiton do I need to change?

推荐答案

您应该使用以下命令启动 WildFly.使用 0.0.0.0 会将 WildFly 绑定到您的 linux 机器上的所有可用 IP 地址.如果要绑定到特定的IP地址;您可以将 0.0.0.0 替换为相关的 IP 地址.

You should start WildFly using following command. Use of 0.0.0.0 will bind WildFly to all the available IP addresses on your linux box. If you want to bind to specific IP address; you can replace 0.0.0.0 with the relevant IP address.

$WILDFLY_HOME/bin/standalone.sh -b=0.0.0.0 -bmanagement=0.0.0.0

使用脚本完成安装后.我们必须去/etc/init.d/service 并将 JBOSS_SCRIPT=$JBOSS_HOME/bin/standalone.sh 更改为 JBOSS_SCRIPT="$JBOSS_HOME/bin/standalone.sh -b=0.0.0.0 -bmanagement=0.0.0.0"

EDIT : Once the installation was complete using the script. We have to go to /etc/init.d/service and change JBOSS_SCRIPT=$JBOSS_HOME/bin/standalone.sh to JBOSS_SCRIPT="$JBOSS_HOME/bin/standalone.sh -b=0.0.0.0 -bmanagement=0.0.0.0"

更多推荐

Wildfly 远程访问管理控制台不起作用

本文发布于:2023-11-15 22:13:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598418.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控制台   不起作用   远程访问   Wildfly

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!