I'm using RDP to connect to the computer where B4J is running, as I need access to some local USB devices. Everything is working perfect in Release mode, but in Debug mode the application GUI is not started, without any error. Is this a normal behavior?
Port UDP 58912 is used for auto discovery of B4A-Bridge clients, the B4A-Bridge on the device listens on port 6789, and the Debugger alternate ports are 9054 and 9055.
Yes, I'm working remotely (through RDP) on my main PC with B4J installed, in debug mode (running the code on remote computer). If firewall not disabled, the app can be run only in Release mode, otherwise the app is compiled, but waiting for debugger to connect. Excelent hint!
Log:
Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055
Opening the TCP ports 9050-9060 for inbound connection solved my issue.