Store port in config file too