diff --git a/chata/index.html b/chata/index.html
index 03e26f4..d6e0488 100644
--- a/chata/index.html
+++ b/chata/index.html
@@ -31,7 +31,7 @@
const ofColor = '#ff0000';
const ConnBtn = document.getElementById('ConnButton');
const TextOut = document.getElementById('output');
- const url = 'ws://broker.emqx.io:8083/mqtt'
+ const url = 'wss://broker.emqx.io:8084/mqtt'
// Create an MQTT client instance
const options = {
// Clean session