Spartan Daminator
Spartan Daminator

Reputation: 3

Under Fedora 34 how to make the Artemis management console accessible?

I have a problem after installing Apache ActiveMQ Artemis.

I have created a new broker. It starts well but the management console is inaccessible outside the machine. However, Cockpit is accessible. I'm a noob on Linux, but I'm looking to improve and understand

Can you help me?

Upvotes: 0

Views: 73

Answers (1)

Justin Bertram
Justin Bertram

Reputation: 34998

By default the embedded web server which runs the web console binds to localhost:8161 which means it won't be accessible from a remote machine. The relevant configuration is in etc/bootstrap.xml, e.g.:

   <web bind="http://localhost:8161" path="web">
       <app url="activemq-branding" war="activemq-branding.war"/>
       <app url="artemis-plugin" war="artemis-plugin.war"/>
       <app url="console" war="console.war"/>
   </web>

You can change the bind attribute to an IP address or hostname which is accessible to remote clients (e.g. 0.0.0.0).

If changing the ActiveMQ Artemis configuration doesn't help then it may be an environmental issue. You should try disabling the firewall that ships with Fedora (i.e. firewalld).

Upvotes: 1

Related Questions