The example redirects to port 80 or the default. If you take the returned url and add the port designator :6670 plus the remainder of the returned string the example functions...