javascript - nodejs how to get the ip of the external network
PHP中文网
PHP中文网 2017-07-03 11:42:38
0
4
1087

os.networkInterfaces() can only return the intranet ip

PHP中文网
PHP中文网

认证0级讲师

reply all(4)
扔个三星炸死你

Access the query IP and use regular parsing to return the public IP address

滿天的星座

Use the versatile NPM to search for available packages! https://www.npmjs.com/search?...

迷茫

You can get it by checking this URL:
http://httpbin.org/ip

洪涛

You can access this interface to obtain the external network IP: http://www.clarencep.com/ip

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!