1It is our recommendation to always use strong mutual authentication in any Internet of Things
2application. Instructions below are for setting up a local httpbin server that communicates
3over plaintext for use with this HTTP demo.
41. Install Docker from https://docs.docker.com/docker-for-windows/install/
52. Run httpbin from port 80.
6     docker pull kennethreitz/httpbin
7     docker run -p 80:80 kennethreitz/httpbin
83. Verify that httpbin server is running locally and listening on port 80
9   by following the steps below.
10     a. Open PowerShell.
11     b. Type in command `netstat -a -p TCP | findstr 80` to check if there
12        is an active connection listening on port 80.
13     c. Verify that there is an output as shown below
14        `TCP    0.0.0.0:80           <HOST-NAME>:0       LISTENING`
154. Make sure the httpbin server is allowed to communicate through
16   Windows Firewall.
17   After running this demo, consider disabling the httpbin server to
18   communicate through Windows Firewall to avoid unwanted network traffic
19   to your machine.
205. After verifying that a httpbin server is running successfully, update
21   the config `democonfigSERVER_HOSTNAME` in `demo_config.h` to the local IP
22   address of your Windows host machine. Please note that "localhost" or address
23   "127.0.0.1" will not work as this example is running on a Windows Simulator and
24   not on a Windows host natively. Also note that, if the Windows host is using a
25   Virtual Private Network(VPN), connection to the server may not work.
26