Fix peer port registration