阿里云服务器安装ActiveMQ Artemis修改配置并通过公网访问Management Console

1.创建实例
2.修改实例broker中的bootstrap.xml文件
修改配置创建的实例broker中的bootstrap.xml,修改为bind=“http://0.0.0.0:8161”
配置如下:

<broker xmlns="http://activemq.org/schema">
   <jaas-security domain="activemq"/>
   <!-- artemis.URI.instance is parsed from artemis.instance by the CLI startup.
        This is to avoid situations where you could have spaces or special characters on this URI -->
   <server configuration="file:/broker/etc//broker.xml"/>

   <!-- The web server is only bound to localhost by default -->
   <web bind="http://0.0.0.0: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>
</broker>
原文地址:https://www.cnblogs.com/InternetJava/p/15731334.html