Press the Windows key + R, you will see the "Run..." dialog.
...
Right click the network adapter you are using and select Properties.
- Uncheck "Internet Protocol Version 4 (TCP/IPv4)"
- Click OK.
- IPv4 is now disabled. Recheck it later to re-enable.
Can I disable IPv4?
You can disable IPv4 and rely solely on IPv6, although you will still need to have IPv4 available for the localhost so your programs operate as expected. DigitalOcean blocks all SMTP traffic over IPv6. If you disable IPv4 on a Droplet that hosts a mailserver, mail delivery will stop.
Should I disable IPv4 and enable IPv6?
Do you need both IPv4 and IPv6? When possible, it is better to keep both IPv4 and IPv6 addresses enabled. For example, using only IPv6 can cause some accessibility issues, as only about one third of the internet supports IPv6 addresses.