Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a simple server

  • Loading branch information...
commit 5aae04e8e5d484b5b2b8343863fe9adc7473706c 1 parent 2f32b93
@jcwilk authored
Showing with 9 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +8 −0 server.js
View
1  .gitignore
@@ -0,0 +1 @@
+.idea
View
8 server.js
@@ -0,0 +1,8 @@
+var http = require('http');
+
+http.createServer(function (req, res) {
+ res.writeHead(200, {'Content-Type': 'text/plain'});
+ res.end('Hello World from Duostack!\n');
+}).listen(8124, "127.0.0.1");
+
+console.log('Server running at http://127.0.0.1:8124/');
Please sign in to comment.
Something went wrong with that request. Please try again.