Replies: 1 comment 4 replies
-
I just realized that I already hard-code |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Now, I know the host IP is always
192.168.5.2
, so I can just hard-code it.But I would prefer to dynamically determine it from the VM configuration. With qemu I would fetch it from the default route:
But when using VZ with gvisor-tap, it uses the SlirpDNS as the gateway address:
So how can I determine the actual host address to call services from the host?
@balajiv113 Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions