Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

404 error when trying to access Wildfly administration console

So I have been trying to access the administration console in wildfly but everytime I try this i get an 404 error, however my wildfly is running and I can access any applications I create and publish on the server via eclipse.

I have tried to change ports in standalone.xml and also tried earlier versions of wildfly (I'm currently using 8.2).

I have also managed to to add an user with the add-user.bat and I have no problems whatsoever with this.

Is there anything else I might try?

I have tried the following so far.

I'm currently using Windows 8.1

*Different versions of wildfly *Deleting wildfly and install it again. *Changing ports in the standalone.xml and also opening ports via windows.

like image 650
xryxr Avatar asked Sep 07 '25 07:09

xryxr


1 Answers

If you trying to access not from localhost, you need:

  1. Get port number of management-http form standalone/configuration/standalone.xml (default is 9990):

    <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
    
  2. Open access to management interface from outside localhost, e.g. change ip from 127.0.0.1 to 0.0.0.0 (listening all your IP addresses):

    <interface name="management">
        <inet-address value="${jboss.bind.address.management:0.0.0.0}"/>
    </interface>
    
  3. Open http://ip:port/management, e.g. http://kpdesign.ru:9990/management. Login into page.

  4. Admin console will be available at http://kpdesign.ru:9990/console

like image 103
Mirimas Avatar answered Sep 11 '25 03:09

Mirimas