我有一个带有以下代码的js文件
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hellosldksldksldk World\n');
}).listen(3000, '127.0.0.1');
console.log('Server running');
现在,如果我通过 127.0.0.1:3000 访问服务器,它完全没问题,但我想从我自己的计算机 IP 地址访问它。我写了 192.xxx.x.xxx:3000,但我无法访问它。由于我正在开发一个android应用程序,我需要计算机的IP地址才能运行它,有人可以解释为什么我无法访问它吗?