Why 0.0.0.0 is working and localhost or 127.0.01 is not
问题 I have a grpc-go server running in docker container, listening on 0.0.0.0:8080 . I found this to be working after having failures with listening on localhost or 127.0.0.1 in a docker container - and it only failed running in a docker container, not if I go run on the same machine. Also a simple web server did work listening on localhost or 127.0.0.1. I found that 0.0.0.0 is listening on any network adapter - but found no other explanations. Well, problem solved - but I am looking for an