diff --git a/tools/goctl/rpc/generator/etc.tpl b/tools/goctl/rpc/generator/etc.tpl index cea664b6..6cd4bddf 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