Skip to content

Not works in express-generator app context #35

Answered by baur
baur asked this question in Q&A
Discussion options

You must be logged in to vote

works if commet this part of code

var server = http.createServer(app);
server.listen(port);
server.on('error', onError);
server.on('listening', onListening);

and type insead of
app.listen(2000);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by k-yle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant