Did you ever get this error message during debugging the remote server?
Failed to connect to remote VM. Connection timed out.
Timeout occurred while waiting for packet 6244.

Few steps to figure it out:
- Make sure the port 8787 is not blocked on the server, use this command to test
nc -zv xx.xxx.x.xx 8787
- If it still doesn’t work, increase the timeout from the Eclipse side

After these two steps, it should work.
Leave a Reply