Correcting port numbers for live