切换到activeMQ安装目录下conf目录,编辑jeety.xml
<bean id="jettyPort" class="org.apache.activemq.web.WebConsolePort" init-method="start">
<!-- the default port number for the web console -->
<property name="host" value="127.0.0.1"/>
<property name="port" value="8161"/>
</bean>
将127.0.0.1修改为0.0.0.0或者实际ip地址,之后重启服务即可。