Wildfly 远程访问管理控制台不起作用 [英] Wildfly remotely access administration console doesnt work

查看:35
本文介绍了Wildfly 远程访问管理控制台不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 WildFly/JBOSS 的新手.我正在使用 WildFly 8.2.0.我已经使用 http://sukharevd.net/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 http://sukharevd.net/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

https://github.com/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 远程访问管理控制台不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆