Skip to content

Instantly share code, notes, and snippets.

@d4dilip
Created January 10, 2013 21:55
Show Gist options
  • Save d4dilip/4506139 to your computer and use it in GitHub Desktop.
Save d4dilip/4506139 to your computer and use it in GitHub Desktop.
var http = require('http');
var server=http.createServer();
server.on('request',function(req,resp){
resp.end('Hello from server');
});
server.listen(4005,'192.168.2.101');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment