Open pe224 opened 4 years ago
I was hit by this issue as well, but only after I upgraded to WSL2 on Windows 10. If you are running WSL2, you may have been hit by the issue where HyperV reserves ports above 50000 by default, as per this blog post. I can't find confirmation of this, but another article points to something similar including a possibly botched install of WSL2 as being the root cause. In any case, there seems to be two ways to fix this on Windows 10:
Option 1: If you have Administrator privileges on your Windows machine Run the following commands to force Hyper-V to use a different port range, for example:
netsh int ipv4 set dynamic tcp start=32768 num=16384
netsh int ipv6 set dynamic tcp start=32768 num=16384
The above commands forces Hyper-V to use a max. of 16000 ports, starting from 32768. If you have other apps that possibly conflict with this range, change the start
and num
parameters as per your liking. In either case, reboot your machine and check if this extension now starts up correctly.
Option 1: If you do not have Administrator privileges on your Windows machine
~/.rmate.rc
in your remote machine as documented in the rmate repo.Hope that helps!
I'm hitting this error and the extension stays in an infinite retry loop:
Even though I set
"remote.host": "127.0.0.1"
thegetHost
command seems to returnNaN
.If I change the configuration, the
setHost
is however correctly executed: