Failed to connect properly. Malicious termination occurred.

18r4 IDE running on MAC OS Mojave.
Remote Debugger running on Linux Mint 19.
Both machines are up to date.

UDP and TCP Port 44553 open on firewalls on both machines.
TCP Port 13897 open on both machines.
Both apps added on firewalls on both machines.
Machines can ping each other.
Both machines connected wired to same switch on same network.
Testing with just the default “Window1” shown when IDE starts.
Both machines are 64bit.
App is running in 64bit.
Remote Debugger is 64bit.

When trying to connect, it fails with the following two messages:
Failed to connect properly. Malicious termination occurred.
Unable to initiate remote debug session.

What am i doing wrong?
It does connect to remote debugger running on my windows VM.

If you build the app for Linux and copy it to the machine, does it run?

Thanks for the idea, it didn’t occur to me to try.
I just tried and it does run, only after i manually change It’s permissions to “Allow executing file as program”.

Then i launched Remote Debugger again and unchecked “Launch executable after receiving” so i have a chance to check permissions on it, but the app doesn’t even download to the folder.

So it looks like a network problem, right?
I noticed also that the Windows Remote Debugger shows automatically in the IDE, but the Linux one doesn’t.

[quote=423651:@Carlos Reina]So it looks like a network problem, right?
I noticed also that the Windows Remote Debugger shows automatically in the IDE, but the Linux one doesn’t.[/quote]
Probably. Is your Linux machine physical or is it a VM?

Windows is VM in physical MAC.
Linux is physical.

I just run a port scan against the linux machine and the mac.
Linux reports port 44553 as blocked, and mac reports it as closed.

I will investigate more on this and report.

I found the problem!

The firewall app in mint 19 lies!
I deleted all the rules and re-enter them, and then i could see port 44553 open.
I tested remote debugger and now it works properly.
It is interesting that i had two other rules, http and vnc, and those were working all along.
Also, it still doesn’t show automatically in the IDE. But works fine when manually.

I learned something about port scans; when it says blocked, it is being blocked by the firewall, and when it says closed, it is not being blocked, but the app is not listening, launching the app makes the port show as open.

I hope this helps someone.

Thanks Greg for jumping in!