Added server port to config file
Fixed character db constraint