I have an executable jar file that I can run on the pi.
Now I want to debug it on the pi.
I can start up the jar file in debug mode and have it listening for a connection, but when I try to connect, I get connection refused.
I'm using Eclipse on Windows 10. I tried switching off the windows firewall for a minute, but was still unable to connect. I've tried Telnet using the ip and port, and get a message that it can't connect. So close... but getting nowhere.