I am trying to remotely access the administration console from JBOSS AS 7. I have configured the management interface to my IP, but after I try to access the address, it is translated to whatever I have in /etc/hosts. How can I change this behavior? I want it to be accessible only through the IP.
Thanks ,
Filip
Best Answer
There's a section in the JBoss AS7 community documentation about Securing The Management Interfaces. This is a good resource for an entry to management interface security topics.
It sounds like you've already set your
management-interfaces
to control the interface and port settings for the Management Console and the Management CLI. Defining the specific IP and Port settings for this interface will typically exclude localhost access.Questions
The management interface settings exist in configuration files for either instance as follows. You need to change the relative runtime token to a specific IP address and port.
Standalone
The standalone configuration file is
standalone.xml
.Managed Domain
You can administer each host controller, so the configuration file is not the master domain controller care of
domain.xml
, but the specific host's configuration inhost.xml
. You are looking to secure thenative-interface
in a similar manner as a standalone instance. If your domain is configured correctly, you can connect remotely to the domain via the domain controller, be that the Management Console or the Management CLI (specifically on that interface).Connecting
If you have questions on connecting remotely, read 4 ways to connect JBoss AS 7 using CLI on Middleware Magic.