Added configuration option to allow non-standard database port