get port from config file