questions icon indicating copy to clipboard operation
questions copied to clipboard

多网卡时注册使用了不需要的IP地址

Open printfcoder opened this issue 6 years ago • 0 comments

可以使用-server_address=ip:port 选项启动服务,如:go run main.go -server_address=127.0.0.1:8876,这样就可以指定服务的IP地址。

printfcoder avatar Nov 18 '19 04:11 printfcoder