I\'m very new for this stuff, and trying to make some express app
var express = require(\'express\'); var app = express(); app.listen(3000, function(err) {
document: app.listen([port[, host[, backlog]]][, callback])
app.listen([port[, host[, backlog]]][, callback])
example:
const express = require('express'); const app = express(); app.listen('9000','0.0.0.0',()=>{ console.log("server is listening on 9000 port"); })
Note: 0.0.0.0 to be given as host in order to access from outside interface