Websocket Not Working Off Localhost
Posted: Sat Jun 12, 2021 4:09 am
I’m using the Pi image. I can access the web server from any machine on my network. I try the Web API test and it won’t connect. I installed the GUI and desktop manager on the Pi to do the web API test and it works FROM the pi itself using localhost. I ran netstat and it shows 9999 bound on all IPs (looks same as SSH server listener) and I know it’s working because, as mentioned, I can access the http site just fine and it works which seems crazy because my understanding is the page itself uses websockets.
Any idea what I’m missing? Any help is appreciated. I searched for hours trying to find a solution before posting.
Any idea what I’m missing? Any help is appreciated. I searched for hours trying to find a solution before posting.