This article explains how to change your Android (9.0 and above) to a static IP address on your network. The instructions below are generally applicable, regardless of who made your Android device: Samsung, Google, Huawei, Xiaomi, etc.
How to Change Your IP Address on Android
Before you can set up your Android with a static IP, you’ll need to find an available IP address on your network. You can do this from any computer connected to your home network.
Click on the Start menu.
Type cmd and click on the Command Prompt desktop app.