kishankavala commented on PR #8312:
URL: https://github.com/apache/cloudstack/pull/8312#issuecomment-1842531536

   Can you create a common util similar to the following to find a free port:
   
   ```
   try (ServerSocket socket = new ServerSocket(0)) {
               socket.setReuseAddress(true);
               return socket.getLocalPort();
           }
   ```


-- 
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