Read the port from the configuration file.