I am trying to configure Create Agent to be accessible from local network.
I am serving js app from NGINX on Raspberry PI (IP 192.168.8.108). I can connect with Agent from browser on PI but cannot from other machines on local network for example 192.168.8.102. When I am opening my web app at 192.168.8.108 I am getting GET http://127.0.0.1:8991/info net::ERR_CONNECTION_REFUSED. My Agent config.ini:
Everything works on localhost or 127.0.0.1 on Raspberry PI where Agent is installed and Arduino connected.
My goal is to get access to Agent installed on Raspberry PI at 192.168.8.108 from machine at 192.168.8.102. How to serve Agent websockets on local network?
There is an "address" option in Agent config.ini, could you tell me more about it?
I had a very similar issue. Turns out it was the ad blocker blocking the Agent from communicating with the browser. I'm using Brave as my browser but I'm pretty sure most other browser's ad blockers could interfere with it.
Your circumstances are a little different than mine. Good luck figuring it out though.