EmberCoin / Ember

Official Ember Blockchain
http://embercoin.io/
MIT License
25 stars 31 forks source link

get external ip shows 0.0.0.0 in info #48

Open Himan2001 opened 6 years ago

Himan2001 commented 6 years ago

i found another bug in the "getinfo":

"connections" : 23, "proxy" : "", "ip" : "0.0.0.0", "difficulty" : {

This is from a ember-daemon behind a nat-router. It looks like, that the get-external-ip function is not working? Normaly i know from other daemons, that they made right after startup a call to a list of stun-servers to get the own external ip. In the ember-log i see no entry for such a call...

The ip: is correctly shown on a system with a direct internet-connection or a vpn-session without any NAT.