Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildfly remotely access administration console doesnt work

Tags:

jboss

wildfly

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

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?

like image 943
vinay Avatar asked Mar 19 '15 16:03

vinay


1 Answers

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

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"

like image 194
Aparna Chaudhary Avatar answered Sep 20 '22 12:09

Aparna Chaudhary