Windows
Press Windows Key & R
Type "cmd" and press enter
Type "ipconfig /release" and press enter
4. Once that has complete
5. You can now type "ipconfig /renew" and press enter
Apple
Click Apple button and go to System Preferences.
Click Network.
Click on Wi-Fi or Ethernet (Depends on which one is used) in the left side box, and click Advanced on the right side corner.
In the top options, select TCP/IP. If you get IP by Using DHCP, you can see Renew DHCP Lease button. Click it to renew the IP address.