Revert "get ports and protocol from v1"

This reverts commit 00b5f7013102b57ec7065264131eda51e76fece5.
portlist