What exact steps are you performing ?
Standard MQTT works over TCP / TLS
Websocket delivers over an HTTP(S) bearer
Both are supported with HiveMQ
But for anyone to advise yo on how to do this we would need to know what commands you have tried so far.