node.js 서버를 설정하고 로컬 컴퓨터 (localhost를 통해)에 액세스했습니다. 그러나 LAN상의 다른 컴퓨터에서는 액세스 할 수 없습니다.node.js 서버 설정
서버가 192.168.1.103이고, 클라이언트는 것 같다 8080
포트에서 채팅 서버 나 웹 서버에 아파치를 사용하고 192.168.105
이며, Node.js를 서버를 다시 시작할 때마다 다른 오류가 발생합니다.
/home/tnewhook/node_modules/socket.io/lib/manager.js:0
(function (exports, require, module, __filename, __dirname) { /*!
^
RangeError: Maximum call stack size exceeded
또는
/home/tnewhook/node_modules/socket.io/lib/manager.js:916
match = req.url.substr(0, resource.length);
: 가끔, 중 때때로이 eror와 서버 충돌, 원격 컴퓨터에서 192.168.1.103:8080/socket.ion/socket.io.js에 액세스 할 수 있습니다 지금까지 본 것 중 가장 이상한 오류는 다음과 같습니다.
missing resource (GET http://192.168.1.105:8080/socket.io. error in socket.io.js:1632
왜 socket.io가 스스로를 호출하려고합니까?
클라이언트가 192.168.105'라는 의미는 무엇입니까? 이 [link] (http://en.wikipedia.org/wiki/IPv4)를 확인하십시오 –