Fix port numbers.