Skip to content
Browse files

Display port when running server

  • Loading branch information...
1 parent 1b3815e commit a64c6f66189bb7b07f0e0a669b29b76663d67c53 Mark Cahill committed Sep 9, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 server.js
View
4 server.js
@@ -36,4 +36,6 @@ app.post('/input/:input', function(req, res, next) {
});
// Start the telemetry server
-app.listen(process.argv[2] || 7000);
+var port = process.argv[2] || 7000;
+app.listen(port);
+console.log("Listening on port", port);

0 comments on commit a64c6f6

Please sign in to comment.
Something went wrong with that request. Please try again.