Getting java.net.NetPermission with xpack.monitoring.exporters (elasticsearch-6.0.0-beta2)

This issue is known to us, and I'm sorry that you encountered it. You can see details here: 6.0.0-beta2 Reindex from remote getProxySelector AccessControlException.