I’ve forwarded your link to our support team – they’re the best equipped to help you sort this out, and see if the example needs an update. However, I do notice in #4 question, that your syntax is off – you should have a colon before the port number rather than a comma, e.g.:
Also be sure to look at the status codes returned from each command. They give a clue as to what’s gone wrong.
Hope that helps!