Single node k3s - connect to guest host in Fleet - DNS issue

For testing purposes, I started a Docker single node Rancher container and now I want to connect Fleet to my git repo via git protocol (git://), which is running as daemon on my local machine.
Is there a special name I have to use to connect to the guest host? When I try my computer name, Rancher tells me that it’s unable to look it up, so I guess DNS resolution is not working:
Git ls-remote git://my-pc-name/fleet refs/heads/main error: exit status 128, detail: fatal: unable to look up my-pc-name (port 9418) (Try again)
When trying with the IP 192.168.13.160 (found via kubectl run -it --rm --restart=Never busybox --image=busybox:1.28 -- nslookup my-pc-name), it’s working.
Thanks!