 	}
 	https.createServer(options, handleServer).listen(serverPort)
 	logger.info("Server running at https://localhost:" + serverPort)
+	https.createServer(options, handleServer).listen(serverPort2)
+	logger.info("Server running at https://localhost:" + serverPort2)
 else
 	http.createServer(handleServer).listen(serverPort)
 	logger.info("Server running at http://localhost:" + serverPort)
+	http.createServer(handleServer).listen(serverPort2)
+	logger.info("Server running at http://localhost:" + serverPort2)
 
 logger.verbose("rootPath = " + rootPath)
 logger.verbose("logPath = " + logPath)

							logger.error("Missing notification type.")
							subResponse.end("Missing notification type.")
							return
						
						if (parsedQuery.hasOwnProperty('deviceId'))
							saveObject.deviceId = parsedQuery['deviceId']
						else

							logger.error("Missing device id.")
							subResponse.end("Missing device id.")
							return


					logger.silly("Subscribing with info: " + JSON.stringify(saveObject))

