Hello, I’m having some issues reaching my exposed GUI on localhost:8161.
Everything I’m trying results in This page isn’t working error in the browser.
small note: every time I mention GUI/console in the thread I mean ActiveMQ’s management GUI on port 8161
Dockerfile
FROM opensuse/leap:15.4
# install and setup application (ActiveMQ Artemis)
# ...
# ...
EXPOSE 61616 8161
CMD ["/software/artemis/bin/artemis", "run"]
Build and run command
docker build -t activemq:latest -f Dockerfile_artemis .
docker run --name artemis -d -t -p 61616:61616 -p 8161:8161 activemq
Using Docker Desktop I see the 0.0.0.0:8161 link.
But when I try to reach my console GUI on either localhost:8161 or localhost:8161/console I get:
This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSE
When I go into the container log/terminal I see the application running:
AMQ101000: Starting ActiveMQ Artemis Server
...
AMQ241001: HTTP Server started at http://localhost:8161
AMQ241002: Artemis Jolokia REST API available at http://localhost:8161/console/jolokia
AMQ241004: Artemis Console available at http://localhost:8161/console
When I do wget inside of the of container on localhost:8161/console, I download the expected login page. So I have confirmed that the application is up and running in my container.
I have tried to look for a solution on this forum and google, I find tons of results, but regardless of what I try I’m unable to reach the GUI.
Anyone have a suggestion on what could be the problem?
Small other note: In another container, with Wildfly, I have the exact same problem, I expose 9990 and -p 9990:9990 to reach the application management console. And can verify inside the container that it is available, but cannot reach it on localhost:9990 in my browser.