I created a web application and I want to connect the web application to a "dongle". The problem is: I found out, that the dongle has no mobile connection and ist NOT connected to the internet.
The setup is this: I have an iPad. The iPad connects to the dongle via WIFI and connects to the web application via LTE (mobile data). This is working.
Actually I wanted to connect to the dongle via curl. But since the dongle is offline and just accessible in the local network, this is not working... of course....
So, since javascript runs on the client side, I was wondering, if there is a way to connect to a local server via javascript. I found socket.io, but I'm not sure, if this is gonna solve the problem...
Can somebody give me a hint and say "yeah, sure that's possible, use that tool" or "Nope, sorry, you gotta find another way for this" or even more helpful things...