Thank you FrankSc.
Just because we have a few thousand devices, and it is important for us to know, when they are in our LAN, the first choice to access our "scanning servers" is the LAN, instead of contacting the "relay server" directly on the internet, otherwise, they will saturate our Internet link.
If I understood what you wrote, LsAgent first uses the Lan access and if it succeeds, it does not use the Internet anymore, is that correct?