I've got an app with a quicklook generator bundled within it.
The app opens port 42222 for localhost queries.
The quicklook generator fails to connect to the socket.
The log shows these 2 sandbox errors:
Sandbox: 1 duplicate report for java deny(1) file-read-data /private/etc/hosts
Sandbox: ExternalQuickLoo(1253) deny(1) network-outbound*:42222
... which is weird because the app isn't sandboxed:
% codesign -d --entitlements :- /Applications/Test.app
Executable=/Applications/Test.app/Contents/MacOS/Test
The same code functions correctly when executed from a separate app running on the same machine (rather than from the generator).
Any idea why the quicklook generator isn't able to connect to a localhost socket?
... or why sandbox rules are being applied to a non-sandbox app?