A remote connection to the Android device

Hi everyone!
I've got a question. So, I'm trying to connect to my Android smartphone remotely using ADB over the network, but the connection keeps getting interrupted. Now, I'm trying to figure out why. I've been using Rclone and Termux on my smartphone recently. Do you think one of these apps might be causing the connection issues?
I'm not a pro at this, just learning, so any help would be greatly appreciated!

what specific issue makes you think rclone on termux is causing problems?

I don't think Termux can block the connection as well as Rclone. Most likely the problem is in the settings. I think the reason might be that to access Android devices using ADB over the network, one important thing to note is that it typically requires your Android device to be rooted. If it's not already rooted, you'll need to go through the process of rooting your device before you can proceed. Or there may be other options.
You can find more detailed information here Android remote debugging and testing