Please refer to iCloud’s help files. I think port 993 is for SSL and not TLS. TLS is usually 143, I think. But these things vary from service to service.