If you intend to monitor / register / check outgoing and incoming connections from your instrument, you need to somehow intercept the traffic.
Wireshark can help with this. If the transport exceeds SSL, then Wireshark may not help.
You can use reverse proxy like charles, intercept traffic and check it there. https://www.charlesproxy.com/documentation/proxying/reverse-proxy/
In addition, a similar question arises here: Register all network interactions of a Java application
Hope this helps. Also, not quite sure why you need the netbeans plugin? When the application is launched, it will do it in its own JVM, so if you do not plan to package the plugin with your tool, I donβt see how you can use it.
source share