Saving the location info of each port