Issue with using reverse tethering programs

When I use it with a Reverse Tethering program (such as Gnirehtet, which is available at Releases · Genymobile/gnirehtet · GitHub), it doesn’t detect the server’s IP address automatically and when I try to manually connect to it, the server program keeps showing the client as connecting/disconnecting repeatedly.