Fix port numbers