Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node express app.listen at specific port & host

const express = require('express');
const app = express();
app.listen('9000','0.0.0.0',()=>{
      console.log("server is listening on 9000 port");
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #express #specific #port #host
ADD COMMENT
Topic
Name
5+3 =