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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -