diff --git a/app.js b/app.js
index a972700cc33ff57a07f7f9f20eb4d8b3a65c17b7..f5fcc138a1f2e1142f403f982f2930b047d686e0 100644
--- a/app.js
+++ b/app.js
@@ -2,6 +2,7 @@ var express = require('express'); // Get the module
 var app = express(); // Create express by calling the prototype in var express
 var http = require('http').Server(app);
 var io = require('socket.io')(http);
+var port = (process.env.PORT || 5000);
 
 var bpm = 120;
 var stepPos = 0;