Explorar o código

fix #2343 (#2349)

Co-authored-by: dylan.wang <dylan.wang@yijinin.com>
re-dylan %!s(int64=2) %!d(string=hai) anos
pai
achega
e50689beed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/goctl/rpc/generator/etc.tpl

+ 1 - 1
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