This is an old revision of the document!


Example MQTT Proxy Setup

The following steps will allow you to remotely access an ARDI server as if it was running on your own system.

The example will use the HiveMQ public MQTT broker. Please note that this service should not be used for real-world situations.

Step 1: Install & Run Source Script

Copy the source.py script to the ARDI server you want to access.

Run the script, pointing it to the local computer and the MQTT broker…

python3 source.py http://localhost --mqtt=broker.hivemq.com --topic=ardi/proxy

Step 2: Install & Run Remote Script

Copy the remote.py script to your own PC.

Ensure that no real ARDI server or other programs that use port 80 (such as BranchCache or IIS) are running on your system.

Run the script, pointing it to the MQTT broker…

python3 remote.py --mqtt=broker.hivemq.com --topic=ardi/proxy

Ready To Go

Your proxy is now running. If you open your browser and go to http://localhost, you will open the content on the remote machine.