mblauth opened a new pull request, #4374:
URL: https://github.com/apache/activemq-artemis/pull/4374

   With this change applied, artemis now only listens to localhost when passing 
connector-host as localhost (or leaving it empty, as it is the default) in 
management.xml.
   
   **Testing done**
   
   I created an instanced and uncommented the "<connector…" line in 
etc/management.xml:
   
   `  <connector connector-port="1099"/>`
   
   With this set, I started the instance and confirmed it was only listening to 
localhost:
   
   `$ netstat -tan | grep 1099 | grep LISTEN
   tcp6       0      0 127.0.0.1:1099          :::*                    LISTEN `
   
   I was still able to connect via jconsole when connecting to localhost:1099.
   
   ![Screenshot from 2023-02-17 
17-44-50](https://user-images.githubusercontent.com/2778554/219713543-d2ef69e7-9c62-4fa0-befa-8bdbfd7c27f2.png)
   
   Connection attempts from another system were refused as expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to