Save port to file for lookup