updated port setting from config file