[{"data":1,"prerenderedAt":254},["Reactive",2],{"VEb9Nnn1YX":3,"web,faq":26},{"items":4,"meta":23},[5,8,11,14,17,20],{"title":6,"titleUrl":7},"MQTT QoS 0、1、2 のクイックスタート","introduction-to-mqtt-qos",{"title":9,"titleUrl":10},"MQTT TopicとWildcardの初心者向けガイド","advanced-features-of-mqtt-topics",{"title":12,"titleUrl":13},"MQTT Broker：原理、人気のオプション、クイックスタート","the-ultimate-guide-to-mqtt-broker-comparison",{"title":15,"titleUrl":16},"ESP32におけるMQTT活用入門ガイド","esp32-connects-to-the-free-public-mqtt-broker",{"title":18,"titleUrl":19},"CAN Bus：機能、利点と課題、高速ローカル処理チュートリアル","can-bus-how-it-works-pros-and-cons",{"title":21,"titleUrl":22},"Python言語の「Paho」MQTTクライアントの使用法","how-to-use-mqtt-in-python",{"count":24,"limit":24,"page":25},6,1,{"_path":27,"_dir":28,"_draft":29,"_partial":29,"_locale":30,"title":31,"description":30,"body":32,"_type":249,"_id":250,"_source":251,"_file":252,"_extension":253},"/en/web/faq","web",false,"","FAQ",{"type":33,"children":34,"toc":240},"root",[35,43,50,68,74,112,118,160,166,171,177,182,194,206,212],{"type":36,"tag":37,"props":38,"children":40},"element","h1",{"id":39},"faq",[41],{"type":42,"value":31},"text",{"type":36,"tag":44,"props":45,"children":47},"h2",{"id":46},"what-is-mqttx-web",[48],{"type":42,"value":49},"What is MQTTX Web?",{"type":36,"tag":51,"props":52,"children":53},"p",{},[54,56,66],{"type":42,"value":55},"MQTTX Web is a free, open-source (Apache-2.0) MQTT 5.0 client that runs in the browser. It connects to MQTT brokers over WebSocket, so you can test MQTT without downloading or installing anything. Open it at ",{"type":36,"tag":57,"props":58,"children":63},"a",{"href":59,"rel":60,"target":62},"https://mqttx.app/web-client",[61,61],"noopener","_blank",[64],{"type":42,"value":65},"mqttx.app/web-client",{"type":42,"value":67},".",{"type":36,"tag":44,"props":69,"children":71},{"id":70},"which-mqtt-versions-and-protocols-does-mqttx-web-support",[72],{"type":42,"value":73},"Which MQTT versions and protocols does MQTTX Web support?",{"type":36,"tag":51,"props":75,"children":76},{},[77,79,86,88,94,96,102,104,110],{"type":42,"value":78},"MQTTX Web supports MQTT 5.0 and 3.1.1 over MQTT over WebSocket (",{"type":36,"tag":80,"props":81,"children":83},"code",{"className":82},[],[84],{"type":42,"value":85},"ws://",{"type":42,"value":87}," and ",{"type":36,"tag":80,"props":89,"children":91},{"className":90},[],[92],{"type":42,"value":93},"wss://",{"type":42,"value":95},"). Browsers cannot open raw TCP connections, so MQTT over TCP and TLS on ports such as 1883 and 8883 are not supported. Use ",{"type":36,"tag":57,"props":97,"children":99},{"href":98},"/docs",[100],{"type":42,"value":101},"MQTTX Desktop",{"type":42,"value":103}," or ",{"type":36,"tag":57,"props":105,"children":107},{"href":106},"/docs/cli",[108],{"type":42,"value":109},"MQTTX CLI",{"type":42,"value":111}," for those.",{"type":36,"tag":44,"props":113,"children":115},{"id":114},"why-cant-i-connect-with-ws-on-the-hosted-version",[116],{"type":42,"value":117},"Why can't I connect with ws:// on the hosted version?",{"type":36,"tag":51,"props":119,"children":120},{},[121,123,129,131,136,138,143,145,151,153,159],{"type":42,"value":122},"The hosted MQTTX Web is served over ",{"type":36,"tag":80,"props":124,"children":126},{"className":125},[],[127],{"type":42,"value":128},"https://",{"type":42,"value":130},", and browsers block insecure ",{"type":36,"tag":80,"props":132,"children":134},{"className":133},[],[135],{"type":42,"value":85},{"type":42,"value":137}," connections from secure pages. Use ",{"type":36,"tag":80,"props":139,"children":141},{"className":140},[],[142],{"type":42,"value":93},{"type":42,"value":144}," instead, or deploy MQTTX Web yourself over ",{"type":36,"tag":80,"props":146,"children":148},{"className":147},[],[149],{"type":42,"value":150},"http://",{"type":42,"value":152},". See ",{"type":36,"tag":57,"props":154,"children":156},{"href":155},"/docs/web/get-started#differences-between-web-and-desktop-versions",[157],{"type":42,"value":158},"Differences Between Web and Desktop Versions",{"type":42,"value":67},{"type":36,"tag":44,"props":161,"children":163},{"id":162},"does-mqttx-web-support-mutual-tls",[164],{"type":42,"value":165},"Does MQTTX Web support mutual TLS?",{"type":36,"tag":51,"props":167,"children":168},{},[169],{"type":42,"value":170},"MQTTX Web cannot configure client certificate and private key files for mutual (two-way) TLS authentication. Use MQTTX Desktop or MQTTX CLI when you need to supply these files.",{"type":36,"tag":44,"props":172,"children":174},{"id":173},"can-i-deploy-mqttx-web-on-my-own-server",[175],{"type":42,"value":176},"Can I deploy MQTTX Web on my own server?",{"type":36,"tag":51,"props":178,"children":179},{},[180],{"type":42,"value":181},"Yes. Run the official Docker image:",{"type":36,"tag":183,"props":184,"children":189},"pre",{"className":185,"code":187,"language":188,"meta":30},[186],"language-shell","docker run -d --name mqttx-web -p 80:80 emqx/mqttx-web\n","shell",[190],{"type":36,"tag":80,"props":191,"children":192},{"__ignoreMap":30},[193],{"type":42,"value":187},{"type":36,"tag":51,"props":195,"children":196},{},[197,199,205],{"type":42,"value":198},"You can also build it from source and change defaults such as the broker address and base URL. See ",{"type":36,"tag":57,"props":200,"children":202},{"href":201},"/docs/web/development",[203],{"type":42,"value":204},"Development",{"type":42,"value":67},{"type":36,"tag":44,"props":207,"children":209},{"id":208},"how-is-mqttx-web-different-from-mqttx-desktop",[210],{"type":42,"value":211},"How is MQTTX Web different from MQTTX Desktop?",{"type":36,"tag":51,"props":213,"children":214},{},[215,217,222,224,230,232,238],{"type":42,"value":216},"Creating connections, subscribing, and publishing messages follow the same basic workflow, but Web supports only WebSocket connections and requires ",{"type":36,"tag":80,"props":218,"children":220},{"className":219},[],[221],{"type":42,"value":93},{"type":42,"value":223}," when served over HTTPS. It cannot configure client certificate files, and Desktop features such as MQTTX Agent and Viewer are not available. See ",{"type":36,"tag":57,"props":225,"children":227},{"href":226},"/docs/web/get-started",[228],{"type":42,"value":229},"Web Get Started",{"type":42,"value":231}," for the differences and deployment options, and the Desktop ",{"type":36,"tag":57,"props":233,"children":235},{"href":234},"/docs/get-started",[236],{"type":42,"value":237},"Get Started",{"type":42,"value":239}," guide for the shared workflow.",{"title":30,"searchDepth":241,"depth":241,"links":242},2,[243,244,245,246,247,248],{"id":46,"depth":241,"text":49},{"id":70,"depth":241,"text":73},{"id":114,"depth":241,"text":117},{"id":162,"depth":241,"text":165},{"id":173,"depth":241,"text":176},{"id":208,"depth":241,"text":211},"markdown","content:en:web:faq.md","content","en/web/faq.md","md",1793847578884]