Open NickNaso opened 8 years ago
Look at these different implementation: https://github.com/sindresorhus/public-ip/blob/master/index.js https://github.com/markogresak/canihazip/blob/master/index.js https://github.com/yieme/ips/blob/master/index.js https://github.com/andris9/public-address/blob/master/index.js https://github.com/sindresorhus/ipify/blob/master/index.js https://github.com/airportyh/get-my-ip/blob/master/index.js https://github.com/StefanHamminga/tz-bounce/blob/master/index.js https://github.com/kosmasgiannis/whatismyip/blob/master/lib/whatismyip.js https://github.com/nicholascloud/myip/blob/master/src/myip.js
In general they use external services or network library to ask the requested public ip.
Which external service use to obtain Public IP?