We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b28ad0 commit 573c4bcCopy full SHA for 573c4bc
cmd/crc/cmd/daemon.go
@@ -177,7 +177,7 @@ func run(configuration *types.Configuration) error {
177
}
178
}()
179
180
- ln, err := vn.Listen("tcp", fmt.Sprintf("%s:80", configuration.GatewayIP))
+ ln, err := vn.Listen("tcp", net.JoinHostPort(configuration.GatewayIP, "80"))
181
if err != nil {
182
return err
183
@@ -193,7 +193,7 @@ func run(configuration *types.Configuration) error {
193
194
195
196
- networkListener, err := vn.Listen("tcp", fmt.Sprintf("%s:80", hostVirtualIP))
+ networkListener, err := vn.Listen("tcp", net.JoinHostPort(hostVirtualIP, "80"))
197
198
199
0 commit comments