This message was deleted.
# rancher-desktop
a
This message was deleted.
j
You should be able to talk to your network service listening on the host (Windows) machine from a docker container via
host.docker.internal:3000
. If this isn't the case, it's a bug; can you please create an issue in github to track this? Also, the stackoverflow question probably doesn't have an answer in this case other than "this is a bug."
If you have any atypical (i.e. VPN, proxy, DNS) network configuration, please include info about that in the issue. Logs also help 🙂
h
i'm working without vpn only .. docker-desktop is also there but i'm not running it parallelly , i doubt is there anything i need to do with hosts file of windows.
j
Maybe try uninstalling Docker Desktop? I don't think it would cause any problems to have it installed, as long as it isn't running, but you never know. You shouldn't have to do anything with the Windows hosts file
h
after installing vpn-kit and running whenever needed ( when host.docker.internal poiting required) , i am able to solve this. Please note that i'm working without vpn eventhough i needed vpn kit and need to start vpn kit everytime
Copy code
wsl --import wsl-vpnkit --version 2 $env:USERPROFILE\wsl-vpnkit wsl-vpnkit.tar.gz
wsl -d wsl-vpnkit
wsl.exe -d wsl-vpnkit --cd /app service wsl-vpnkit start
i'm still wondering ..Am i working correctly ? but above solution works well for my entire team who working without vpn.
j
I haven't heard of this as a solution, but this isn't my area of expertise. @calm-sugar-3169 have you heard of this?
c
@hallowed-art-29425 you shouldn’t have to use wsl-vpnkit if you are not on a VPN, what version of Rancher Desktop are you using?
h
@calm-sugar-3169 , i'm using latest rancher desktop version 1.7 .
322 Views