How do I identify which ip address to use when connecting via usb tethering

It can’t be found via the ordering.

What do your IPs look like?
On my end, I have 192.168.1.x from my router and 192.168.197.x for the USB tethering connection.
I’m not sure how the IP from USB tethering is attributed but, the 3rd number is always high. Which makes it easy to distinguish.

It should become irrelevant when USB connection without tethering is implemented.