Revert "Try not setting private port"

This reverts commit 3b6f832a264461f8f2d650181b10377b83f71a39.