Fix port numbers in recorder