Are you using any VPN App, and its disconnecting easily, your worries are gone as long as you follow this steps, it even works on Samsung phones
FIRST DOWNLOAD TERMINAL EMULATOR FOR YOUR ANDROID DEVICE #from playstore
Launch the app , you will see your phone model written in the app.
E.g u0_a123@TECNO-Y6:/ $
Then in front of it, the type
"Ping 127.0.0.1" Without quote.
Now tap enter in your Android keyboard. Then it start showing logs.