I'm trying to start the socket.io service, but the error appears Can not GET /
My server.js is like this
var socket = require( './node_modules/socket.io' );
var express = require('./node_modules/express');
var app = express();
var server = require('http').createServer(app);
var io = socket.listen( server );
var port = process.env.PORT || 3000;
var users = [];
server.listen(port, function () {
console.log('Server listening on port %d', port);
});
When I run node server.js it starts the service, but which one try to access the url aparace Can not GET /