javascript - How do i restrict my node express application to localhost only? -
i have node express application want available localhost client. how can prevent other hosts accessing node express app?
when start listening server mentioned host name 'localhost'. take @ following code.
var app = require('express')(); app.listen(8000,'localhost');
Comments
Post a Comment