Visual Studio remote debugger “invalid access to memory location” feature

I found a simple workaround for this. Change the debug port on the remote machine (Tools –> Options). I would use something arbitrarily high, like 63342 to avoid colliding with any existing ports but you just need to use any unused one. Once changed, you should be able to connect.