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

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

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

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地址,请执行以下操作:您可以用相关的IP地址替换0.0.0.0.

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

发布评论

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

>www.elefans.com

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