Unable to Connect to Aws IoT Core, has anyone implemented it

Sorry for late reply.

As a prefix to your server address ,may i know which protocol you are using out this “tcp, ssl or ws”

Thanks,
Praveen