我用以下代码设置了一个非常基本的node.js服务器:const app = express();const ip = '192.16x.xxx.yyy'; // the x's and y's are placeholders.I didnt want to write my real IP here
const http = require(&q
我尝试使用express和node.js获取客户端的完整IP地址,但得到的结果是::1.我尝试读取此How to get IP address in node.js express但找不到解决方案 这是我的代码require('express') console.log(req.ip"author&quo