Mobile Phones Android How to Change the IP Address on Your Android Tired of a random Android IP? Here's how you can make your IP static by Ryan Dube Writer Ryan Dube is a freelance contributor to Lifewire and former Managing Editor of MakeUseOf, senior IT Analyst, and an automation engineer. our editorial process Facebook Twitter LinkedIn Ryan Dube Updated on November 09, 2019 Android Switching from iOS Tweet Share Email Changing your IP address on your Android is simple. There is a buried setting in your Android device that lets you switch from a dynamic IP (DHCP) to a static one. However, there are a number of things you should do beforehand to make sure that you're choosing an available static IP address on your network. The directions below should apply in general, no matter who made your Android device: Samsung, Google, Huawei, Xiaomi, etc. The instructions in this article are focused on Android 9 and up. Why Change the IP Address on Your Android? There are plenty of important reasons you may need to set a static IP on your phone that doesn't change. A few of the most common reasons include: Running a mobile web serverSharing mobile files with FTP server softwareUsing your phone as a Wi-Fi cameraRunning a mobile media server on your phone All of these uses require your mobile phone to have a fixed IP that you can easily configure in 3rd party software running on your computer or any other device on your network. Find a Network IP for Your 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 that's connected to your home network. On a Windows PC: Click the Start menu. Type cmd and click on the Command Prompt desktop app. In the command prompt window, type the command ipconfig/all and press Enter. You'll see lots of information in the results, but you only need to be concerned with two items. Default Gateway: This is the IP address of your home router, and is typically the lowest IP address on the network. In the example above, this IP address is 10.0.0.1.IPv4 Address: This is the IP address of the device you've run the command from. In the example above, this IP address is 10.0.0.158.DNS Servers: These are the servers your internet service provider (ISP) uses to look up domain names when you browse the internet. You can find a free IP address on your network by typing a ping command starting from the router IP and working your way up. If you see a response with ping time, it means there's a device on the network with that IP address. If the response reads "Destination host unreachable", it means that IP address is available. To perform the same ipconfig and ping commands on a Mac, open the terminal by pressing cmd + space and typing "terminal". In the Mac terminal, you can issue the same commands as described above. Change the IP Address on Your Android Now that you know what IP you can set your phone to, it's time to switch your phone from DHCP to a static IP. Open Settings, under Network & internet, tap on Wi-Fi. Press and hold on the connected Wi-Fi network. You'll see a menu pop-up. Tap Modify network. Depending on your device's implementation of Android, you may have to "Forget" the connected network before the press-and-hold trick will work. As an added step moving forward, just re-enter the network password alongside the IP address changes. You'll see the password change screen for that network. Tap Advanced options, and scroll down to the IP settings section. By default, this is set to DHCP. Tap DHCP and change the setting to Static. Once you've changed the IP Setting to Static, a form will appear that will allow you to manually configure all of your Android's network settings, including your Android's IP. Since your IP will be static, you'll need to manually configure the rest of the network settings in this form as well. IP Address: The available IP address you discovered using the Ping command.Gateway: Enter the default Gateway IP address you recorded above.DNS 1 and DNS 2: Type the IP addresses of the DNS servers you recorded above. You can leave any other fields in this form set as default. When you're done changing the IP settings, tap Save. Your Android will reconnect to your home network with its new IP. Now you can configure any software you're using to connect to your Android using its new, static IP address. Your Android phone will retain this static IP even after a reboot. If you want to undo the static IP and set your Android back to DHCP, just follow the steps above, but in the Advanced Options menu, set the IP Settings option back to DHCP.