My main suggestion is to review the basics, i.e. make sure that the Codesys service is actually listening on that port by using:
sudo netstat -apn | grep tcp | grep LISTEN
The Codesys example was provided to show use with other applications beyond SSH, web, and VNC, but we have no official relationship with Codesys and it's possible something on their end changed since we made the video. I did the original tests so I know that it worked at the time.