Problems encountered when installing and starting ActiveMQ on March 13, 2022

Today I studied Teacher Zhou Yang’s ActiveMQ course for a day, and the lectures were pretty good. However,
I encountered a problem: I can access an interface of ActiveMQ through http://IP address:8161/ in Linux, and I can log in successfully. , however, it cannot be accessed in Windows, so I used the apache server and tried it, but found that it still could not be accessed.
Insert image description here
The reason is that my access address is https://192.168.28.3:8888/. The https security protocol cannot be used here. The http protocol should be used, such as
http://192.168.28.3:8888/. If the access is successful
Insert image description here
, then I I thought my ActiveMQ should be accessible, but it turned out that it still couldn't be accessed. Then I checked CSDN, and sure enough I found that a friend had the same problem as me. And proposed a solution: modify the jetty.xml configuration file under conf in ActiveMQ.
Insert image description here
Modify the configuration file as shown in the figure and you will be successful.
Insert image description here

Guess you like

Origin blog.csdn.net/qq_41787812/article/details/133104700