diff --git a/command/agent/config.go b/command/agent/config.go index 3e1d2b17e..0b2567736 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -743,6 +743,11 @@ func newDevModeConfig(devMode, connectMode bool) (*devModeConfig, error) { } func (mode *devModeConfig) networkConfig() error { + if runtime.GOOS == "windows" { + mode.bindAddr = "127.0.0.1" + mode.iface = "Loopback Pseudo-Interface 1" + return nil + } if runtime.GOOS == "darwin" { mode.bindAddr = "127.0.0.1" mode.iface = "lo0"