Implement vhostSetPort method