You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes value of utils.LocalIp is a loopback ip, cause in line 48:!ipnet.IP.IsLoopback() is only hit ip like 127.* or ::1
If some of server's net interface is a loopback interface, value of utils.LocalIp might be a loopback ip(which is not like 127.*)
Sometimes value of utils.LocalIp is a loopback ip, cause in line 48:!ipnet.IP.IsLoopback() is only hit ip like 127.* or ::1
If some of server's net interface is a loopback interface, value of utils.LocalIp might be a loopback ip(which is not like 127.*)
https://github.com/apache/rocketmq-client-go/blob/master/internal/utils/net.go#L29-L54
so i think ClientIP4() should filter lookback interface first like this:
The text was updated successfully, but these errors were encountered: