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

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

问题描述

我是WildFly/JBOSS的新手.我正在使用WildFly 8.2.0.我已经使用 http://sukharevd.net/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 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地址,请执行以下操作:您可以用相关的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远程访问管理控制台不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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