java - Artemis-2.6.3 控制台 : Service Unavailable

标签 java activemq-artemis

我成功启动了artemis-service。但网络控制台无法正常工作。

cmnd:sudo“/usr/lib/myBroker/bin/artemis-service”启动

网址: http://ip:8161/console/

回复:

HTTP ERROR 503 Problem accessing /console/. Reason:

Service Unavailable

我更改了 bootstrap.xml 以从外部访问 8161 端口。

来自:bind="http://localhost:8161"

至:bind="http://0.0.0.0:8161"

注意:当我在本地计算机中启动它时,它可以正常工作,无需更改 bootstrap.xml。

最佳答案

解决方案

jolokia-access.xml 出现此问题。 删除allow-origin并添加以下配置:

<remote>
      <host>localhost</host>
      <host>192.168.0.0/16</host>
</remote>

这里我允许了192.168 block ip。

文档 here

关于java - Artemis-2.6.3 控制台 : Service Unavailable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53257375/

相关文章:

Java Swing : get index of combobox inside table

java - Artemis 使用 JMS 持久订阅多播地址

java - 如何在 ActiveMQ Artemis 集群中启用 REST

java - Apache Artemis 如何管理堆空间 (RAM)

java - 识别 JFlex 1.4.3 中的小数

java - 如何通过套接字将字符串从线程发送到服务器

java - 用于 MS ACCESS(.mdb) 数据库的 Type 4 JDBC 驱动程序?

java - 使用 try/catch 进行最终变量赋值

java - ActiveMQ Artemis - javax.jms.IllegalStateException : AMQ219019: Session is closed

java - 消息监听器不起作用?