tvm icon indicating copy to clipboard operation
tvm copied to clipboard

Fix the connection between server and tracker when using WSL2

Open gaoren002 opened this issue 1 year ago • 4 comments

There is a bug when we use WSL2 or other virtual machine in NAT mode as host, the host can find the device easily, but when device respond to the host, it will lose the device ip address, in this case, host will just try to find a IP that is used for visiting from virtual machine(e,g, WSL2, 172.xxx.xxx.xxx) to physical host, this IP cannot be used to visit device, this will make the server in device print"no incoming connections ", because the host cannot find the device

To fix the bug, I just pass the real IP of device to host,which can solve this problem. But this fix need Internet to get device IP, I wonder if there is a better way. image

gaoren002 avatar Sep 09 '24 06:09 gaoren002