sabi0 commented on issue #12964:
URL: https://github.com/apache/lucene/issues/12964#issuecomment-1868070476

   My understanding of the situation is the following:
   Dynamic / ephemeral is only applicable to a local port. Thus permission 
`127.0.0.1:0/listen` allows to bind to a dynamic local port.
   But when accepting a connection from some _remote_ port local system's 
"ephemeral port range" is not applicable. And the permission 
`127.0.0.1:0/accept` does not work.
   
   I have no idea why this only happens to me. And I understand your position 
of not wanting to change the test or the policy.
   
   Just in case this might help someone else the tests also pass with the 
following permissions:
   ```
     permission java.net.SocketPermission "127.0.0.1:0", "listen,resolve";
     permission java.net.SocketPermission "127.0.0.1:*", "accept,resolve";
   ```


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to