summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2018-02-21 16:15:11 +0000
committerGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2018-02-21 16:15:11 +0000
commit6984e0453fd7f97227cc1f98689074c0b00e89e6 (patch)
treea92cc0f2bee9fee35e8d65eb23ad581d10257558
parentpm2 pieces (diff)
downloadcolor-6984e0453fd7f97227cc1f98689074c0b00e89e6.tar.gz
color-6984e0453fd7f97227cc1f98689074c0b00e89e6.tar.bz2
color-6984e0453fd7f97227cc1f98689074c0b00e89e6.zip
listen only on localhost
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 7f6c6c5..bb6f4e0 100644
--- a/index.js
+++ b/index.js
@@ -28,4 +28,4 @@ server.on('clientError', (err, socket) => {
socket.end('HTTP/1.1 400 Bad Request\r\n\r\n');
});
-server.listen(8000);
+server.listen(8000,'127.0.0.1');