Skip to main content
To use IPv6 on Windows Server, check it is enabled on the adapter with Get-NetAdapterBinding -ComponentID ms_tcpip6, then add your address and gateway in PowerShell as Administrator: New-NetIPAddress -InterfaceAlias "Ethernet" -AddressFamily IPv6 -IPAddress 2001:db8::10 -PrefixLength 64 -DefaultGateway 2001:db8::1. Test it with ping -6 from another IPv6 host. Works on Windows Server 2019, 2022 and 2025.

Before you start

  • Find your IPv6 details. On a VPS whose plan includes IPv6, the Network tab of the VPS Panel shows the IPv6 range, each Address and the Gateway (view network settings). On a dedicated server, open a ticket if you don’t have them.
  • IPv6 is the newer internet address format, written in hexadecimal groups such as 2001:db8::10. The /64 after a range is its prefix length.
  • Work in the VNC console if you change binding settings, because the adapter restarts.

How to check that IPv6 is enabled

IPv6 is enabled by default in Windows Server. Check that it is still bound to your adapter:
If Enabled is False, turn it on (the adapter restarts, so Remote Desktop drops briefly):
Also check that IPv6 wasn’t switched off in the registry:
No result or a value of 0 means IPv6 is fully on. 255 (0xFF) means it was disabled. Set it back to 0 (or delete the value) and restart:
Microsoft doesn’t recommend disabling IPv6. If you need IPv4 to be preferred, it recommends the value 0x20 (Prefer IPv4 over IPv6) instead.

How to add a static IPv6 address

1

Add the address and gateway

Use the exact prefix length and gateway from your network details.
2

Add more IPv6 addresses (optional)

Add extra addresses without a gateway:
3

Add IPv6 DNS servers (optional)

Your existing IPv4 DNS servers keep working for IPv6 lookups, so this step is optional.

Same task with netsh

How to allow IPv6 ping

The server only answers IPv6 ping when an inbound ICMPv6 Echo Request rule is enabled. Enable the built-in rule if you want it to answer:
Details are in allow ping through Windows Firewall. Leave the other ICMPv6 rules alone: IPv6 needs them to work.

How to check it worked

Your address should show with PrefixOrigin Manual and the ::/0 route should point to your gateway. Replace 2001:db8::20 with the IPv6 address of another server you know is reachable: TcpTestSucceeded : True proves outgoing IPv6 works. Then, from another IPv6-enabled computer:
To let people reach a website over IPv6, add an AAAA record for your domain. See point a domain to your server.

Frequently asked questions

Should I disable IPv6 if I don’t use it?

Microsoft recommends against it, because some Windows components might not work. If something misbehaves over IPv6, set Prefer IPv4 over IPv6 (DisabledComponents = 0x20) instead.

Why does my server have a fe80:: address?

Every IPv6 interface has a link-local address starting with fe80::. It only works on the local network segment and is normal. Your public address is the one you add.

Do my firewall rules cover IPv6?

Yes. Windows Firewall rules apply to IPv4 and IPv6 unless you limit their addresses to one family. Check rules with -RemoteAddress limits: an IPv4-only list blocks IPv6 clients.

Why can I reach the internet over IPv6 but nobody can reach me?

Check the inbound firewall rule for the service, and that the program listens on IPv6 (Get-NetTCPConnection -LocalPort 443 -State Listen should show :: as a local address).

VPS and dedicated server guides

Every guide in this section.

Set a static IP and DNS

Configure IPv4.

Allow ping (ICMP)

ICMPv4 and ICMPv6 Echo Request.

Add additional IP addresses

Secondary addresses.

Configure IPv6 on Linux

The same task on Linux.

Checked against Microsoft Learn: Configure IPv6 in Windows, New-NetIPAddress, Enable-NetAdapterBinding and netsh interface on 4 November 2026. Commands were not tested on a live Windows server for this page; sample output is illustrative.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: November 2026