Open henryprosser opened 2 years ago
Finally solved… For anyone who has the same problem/encounters it in the future, you need to change the thing server port to 8080 (ie the same port as the gateway). Then type in ipconfig in terminal and copy the Wireless LAN adapter WiFi IPv4 address. Then add the thing via URL with the following address
Wireless LAN adapter WiFi IPv4 address: 8080
Hi, I've successfully set up the gateway however when trying to connect a virtual thing to the gateway, it is not found. I followed this tutorial to add a virtual thing: https://github.com/WebThingsIO/webthing-python. The web thing server is definitely working as I can connect to the URL and it displays the thing's information.
I have tried adding via URL but I get an error 400. I was also getting an ECONNREFUSED error in the docker terminal however this is not showing anymore. After doing much troubleshooting, it appears it may have something to do with host networking - which I am aware is not supported in Docker for Windows. Does this mean it is not possible to setup a gateway and connect things to it using the docker image in Windows?
This is all very new to me so apologies if I have missed something obvious!