当我在Node中进行axios调用时,我希望获得远程url的解析IP地址。请参阅下面的*注释。提前谢谢你!axios.get('http://www.example.com') // *** How can I get the resolved IP address of www.example.com here .catch(function (error) { });
我希望通过node连接到新闻提要urls列表,并通过socket.io获取实时数据。instead of console.log to output via express });当我执行node server.js时,它抛出一个错误 at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete]
read property 'value' of null at HTMLButtonElement.myAlertvar ip = document.getElementById('ip_dns').value;<html> <title>DNS Teste</title>
<script src="popup.