Good catch. Currently the port is getting set only when I fire up the app on the command line. Yes I agree that adding the port as a config in each file makes total sense. I had that for a bit and then I removed it but it should definitely be added back.