I have two device and I want to sync some folders between them. But both devices don’t find to each other on local-discovery(Global turned off), unless I go to the device setting and manually type address of the other device. I tried to use hostname but it didn’t work. Even though I am able to ping other device using hostname. I am not quite familiar with Networking so pardon me.
Given that ping works, and manual entry of the address works, my bet is that the local firewall on one or both of your Linux machines is preventing the reception of UDP/21027, or broadcasts, or multicasts.
Which specific Linux distros are you using? Is your network IPv4, IPv6, or both?
Local Discovery definitely works on IPv4. I have speculated that some network stacks seem to prefer IPv6 when both are available, but truthfully I haven’t tried to figure that out.