eth-netstats world map does not show node locations
The reason given on github for this problem is that the version of geoip-lite is too low, and there is also ip filtering; the solution is as follows
1 Modify geoip-lite version
cd to the eth-netstats file directory
2 Modify lib/node.js
if(ip.substr(0,7) == "::ffff:"){
ip = ip.substr(7)
}
3 Reinstall dependencies
cd to the eth-netstats directory, type npm install
andgrunt all
4 Restart PM2
cd to eth-net-intelligence-api in the eth-netstats directory , then typepm2 start app.json
5 start app.json
start app.json`
6 Start the project
cd to the eth-netstats directory to start the web page again