[
https://issues.apache.org/jira/browse/AMQ-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved AMQ-5177.
------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Thanks for the PR
> ActiveMQ Web Console URL log message hard coded to localhost
> ------------------------------------------------------------
>
> Key: AMQ-5177
> URL: https://issues.apache.org/jira/browse/AMQ-5177
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.9.1
> Environment: Apache ActiveMQ 5.9.1
> OSX
> Reporter: Jason Sherman
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 5.10.0
>
>
> The following message is logged even if the Jetty Server Host is set to use a
> specific IP:
> {code}
> INFO | ActiveMQ WebConsole available at http://localhost:8161/
> {code}
> Looking at org/apache/activemq/web/WebConsoleStarter.java, the URL is hard
> coded to localhost:
> {code}
> // for embedded console log what port it uses
> if ("embedded".equals(webconsoleType)) {
> // show the url for the web consoles / main page so people can
> spot it
> String port = System.getProperty("jetty.port");
> if (port != null) {
> LOG.info("ActiveMQ WebConsole available at
> http://localhost:{}/", port);
> }
> }
> {code}
> The log message doesn't account for users setting the Jetty host property.
--
This message was sent by Atlassian JIRA
(v6.2#6252)