read server settings from config file.