File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
96
96
}()
97
97
}
98
98
99
- logrus .Infof ("Starting daemon on TCP port %s" , port )
100
- lis , err := net .Listen ("tcp" , fmt .Sprintf (":%s" , port ))
99
+ logrus .Infof ("Starting daemon on TCP address 127.0.0.1: %s" , port )
100
+ lis , err := net .Listen ("tcp" , fmt .Sprintf ("127.0.0.1 :%s" , port ))
101
101
if err != nil {
102
102
// Invalid port, such as "Foo"
103
103
var dnsError * net.DNSError
@@ -121,7 +121,7 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
121
121
os .Exit (errorcodes .ErrGeneric )
122
122
}
123
123
// This message will show up on the stdout of the daemon process so that gRPC clients know it is time to connect.
124
- logrus .Infof ("Daemon is listening on TCP port %s..." , port )
124
+ logrus .Infof ("Daemon is now listening on 127.0.0.1: %s..." , port )
125
125
if err := s .Serve (lis ); err != nil {
126
126
logrus .Fatalf ("Failed to serve: %v" , err )
127
127
}
You can’t perform that action at this time.
0 commit comments