Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express js app server listen on port

var app = require('express')();

var listener = app.listen(8888, function(){
    console.log('Listening on port ' + listener.address().port); //Listening on port 8888
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #express #js #app #server #listen #port
ADD COMMENT
Topic
Name
9+9 =