Added a config option for listening interface

This commit is contained in:
Zaid Abdulla committed 2012-10-17 14:05:38 +03:00
1 parent 2b997e466a
commit d93ba4445a
3 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -124,5 +124,5 @@ else
runTask(sessionId, deviceId, task, reqParams, response)
)
server.listen config.PORT
console.log "Server listening on port #{config.PORT}"
server.listen config.ACS_PORT, config.ACS_INTERFACE
console.log "Server listening on port #{config.ACS_PORT}"