mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
Use peerAddress as the thing to listen on
This commit is contained in:
parent
d5658ab0b0
commit
3c6b6553fb
@ -106,7 +106,7 @@ func newNetwork(opts ...Option) Network {
|
||||
// server is network server
|
||||
server := server.NewServer(
|
||||
server.Id(options.Id),
|
||||
server.Address(address),
|
||||
server.Address(peerAddress),
|
||||
server.Advertise(advertise),
|
||||
server.Name(options.Name),
|
||||
server.Transport(tunTransport),
|
||||
|
Loading…
Reference in New Issue
Block a user