Properly set app.port after server was started.
Merge pull request #1 from mnottale/master

Properly set app.port after server was started.