まーぽんって誰がつけたの?

iOS→Scala→インフラなおじさん技術メモ

Express3とsocket.ioでsocket.io.jsが404

http://stackoverflow.com/questions/16756409/socket-io-and-express3-404-on-client-request-to-socket-io-socket-io-js

app.listen(3000)ってしてたやつを消して、

-  , server = http.createServer(app);
+  , server = http.createServer(app).listen(3000);

httpのサーバーの方のlistenを3000で待つように変更