Fixed port redirection issues