Skip to content

Commit 4a16c7f

Browse files
committed
make checkout service listen to ipv6
1 parent 79812a8 commit 4a16c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkoutservice/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func main() {
208208

209209
log.Infof("service config: %+v", svc)
210210

211-
lis, err := net.Listen("tcp", fmt.Sprintf(":%s", port))
211+
lis, err := net.Listen("tcp6", fmt.Sprintf("[::]:%s", port))
212212
if err != nil {
213213
log.Fatal(err)
214214
}

0 commit comments

Comments
 (0)