Artemis-2.6.3控制台:服务不可用

问题描述 投票:1回答:2

我成功地开始了artemis-service。但是Web控制台无法运行。

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

url:http://ip:8161/console/

响应:

HTTP错误503访问/ console /的问题。原因:

Service Unavailable

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

来自:bind =“http:// localhost:8161”

要:bind =“http://0.0.0.0:8161”

N.B:当我在我的本地机器上启动它没有改变bootstrap.xml时正常工作。

java activemq-artemis
2个回答
0
投票

Solution

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

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

在这里我允许192.168块ip。

文档here


-2
投票
 26         <!-- Allow cross origin access from localhost ... -->
 27         <allow-origin>*</allow-origin>

匹配所有

© www.soinside.com 2019 - 2024. All rights reserved.