Use uint32 ports because that is what metricz -> localip expects [#82988760]