Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." (#1541)

This reverts commit c67cd636f91e849f8677733bcdd60ea8c15d4aa6.
This commit is contained in:
Menghan Li
2017-09-27 00:01:17 -07:00
committed by GitHub
parent c67cd636f9
commit a68137c927
8 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ var (
func main() {
flag.Parse()
go func() {
lis, err := net.Listen("tcp", "localhost:0")
lis, err := net.Listen("tcp", ":0")
if err != nil {
grpclog.Fatalf("Failed to listen: %v", err)
}