There were a couple of problems with server.js:

1. scoping issues for javascript
2. redis client instantiation order of host & port was reversed.

This actually worked as a happy circumstance -- the redis library is defaulting to localhost:6379