diff --git a/app.js b/app.js
index 2294223d8731e6b1ecbb706bebca61cb0d0a240f..4365faab0085c4c44a73156b98f0c37425f6db9f 100644
--- a/app.js
+++ b/app.js
@@ -7,7 +7,7 @@ var port = (process.env.PORT || 5000);
 var bpm = 120;
 var stepPos = 0;
 
-server.listen(port, function() {
+http.listen(port, function() {
     console.log('Listening on port %d', server_port);
 });