Arduino Create Agent local network connection refused

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:

gc = std
hostname = unknown-hostname
regex = usb|acm|com
v = true
appName = CreateAgent/Stable
updateUrl = https://downloads.arduino.cc/
origins = http://localhost, http://192.168.8.108
crashreport = false

Do I need to change NGINX or Agent configuration? Is there any proxy needed?

Chris

Ensure that you have administrator permission, check:
https://support.arduino.cc/hc/en-us/articles/360014869820-Install-the-Arduino-Create-Agent and https://support.arduino.cc/hc/en-us/articles/360019545980-I-have-installed-the-Create-Agent-but-the-board-is-not-recognized-

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.

Problem solved by setting address = 0.0.0.0 , Gin server will be accessible from available network interface. Thank you all for your reply.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.