diff --git a/tools/goctl/rpc/generator/etc.tpl b/tools/goctl/rpc/generator/etc.tpl index cea664b62eea..6cd4bddf3912 100644 --- a/tools/goctl/rpc/generator/etc.tpl +++ b/tools/goctl/rpc/generator/etc.tpl @@ -1,5 +1,5 @@ Name: {{.serviceName}}.rpc -ListenOn: 127.0.0.1:8080 +ListenOn: 0.0.0.0:8080 Etcd: Hosts: - 127.0.0.1:2379