How to get the static IP address of a computer or phone?

Do I need to get the static IP address of the accessing device to set each account to log in only on the device? please help me

Can you tell us more about what result you’re trying to achieve?

(It sounds like you want to limit app access to specific devices?)