Discord may fail to connect to voice channels or load messages on networks where IPv6 is broken or misconfigured. This often happens on corporate VPNs, old routers, or public Wi-Fi that advertise IPv6 support but cannot handle real traffic. The result is a spinning circle, a No Route error, or a failed login. This article explains how to force Discord to use IPv4 only through a simple configuration file change, without disabling IPv6 on your entire operating system.
Key Takeaways: Forcing Discord to Use IPv4 Only
- Discord settings.json file: Adding the
"DISABLE_IPV6": trueflag forces Discord to connect over IPv4 only - %appdata%\discord\settings.json: The exact file path where you must edit or create the configuration
- Restart Discord after editing: The change only takes effect after you close and reopen the Discord app
Why Discord Fails on Networks With Broken IPv6
IPv6 is the newer internet protocol designed to replace IPv4. Many networks advertise IPv6 capability through a router or a VPN tunnel but never properly route IPv6 packets to the public internet. When Discord tries to connect to its servers, it may request an IPv6 address first. If the network drops those packets silently or responds with a time-out, Discord cannot establish a connection. The application does not automatically fall back to IPv4 in every case, especially if the IPv6 address is present but unreachable.
This problem appears most often on:
- Corporate networks that use IPv6 transition technologies like Teredo or 6to4
- Public Wi-Fi hotspots with misconfigured IPv6 DNS or routing tables
- Home routers with outdated firmware that advertise IPv6 but cannot forward packets
- VPN clients that push an IPv6 address but have no outbound IPv6 path
Disabling IPv6 system-wide can fix the issue but may break other applications that rely on IPv6, such as Windows Update or Microsoft Teams. A better solution is to disable IPv6 only inside Discord itself.
Steps to Force Discord to Use IPv4 Only
You do not need to install any third-party tool or modify Windows settings. Follow these steps to edit the Discord configuration file.
- Close Discord completely
Right-click the Discord icon in the system tray near the clock and select Quit Discord. If you skip this step, Discord will overwrite your changes when you close it later. - Open the Discord settings folder
Press Windows + R on your keyboard to open the Run dialog. Type%appdata%\discordand press Enter. This opens the AppData\Roaming\discord folder. - Locate or create settings.json
Look for a file named settings.json. If the file exists, right-click it and open it with Notepad. If the file does not exist, right-click an empty area in the folder, select New > Text Document, and rename it tosettings.json. Make sure the file extension is .json and not .json.txt. - Add the IPv6 disable flag
If the file is empty or does not exist, paste the following JSON:{
"DISABLE_IPV6": true
}
If the file already contains other settings, add a comma after the last existing entry and then add"DISABLE_IPV6": true. For example:{
"SKIP_HOST_UPDATE": true,
"DISABLE_IPV6": true
} - Save the file and close Notepad
Press Ctrl + S to save, then close Notepad. - Restart Discord
Open Discord from the Start menu or desktop shortcut. The application now uses IPv4 for all network traffic.
To verify the change worked, open a voice channel and check that you can hear others and transmit audio. If Discord still shows connection errors, proceed to the next section.
If Discord Still Has Issues After the Main Fix
Discord Still Shows No Route or RTC Connecting
The No Route error can also be caused by a firewall blocking Discord’s ports or by a VPN that interferes with peer-to-peer voice traffic. Run the Discord voice connection test: go to User Settings > Voice & Video and click Check for Updates. Then click Reset Voice Settings to restore default audio device and port settings. If you use a VPN, try disconnecting it temporarily to see if the problem resolves.
Discord Fails to Load Messages or Shows a Blank Screen
This symptom may indicate a DNS issue rather than an IPv6 problem. Open a Command Prompt and run ipconfig /flushdns to clear the DNS cache. Then go to Windows Settings > Network & Internet > Status > Network Reset and click Reset now. After the reset, restart your PC and try Discord again.
Discord Crashes After Editing settings.json
If Discord fails to start after you edited settings.json, the JSON syntax may be invalid. Open the file again in Notepad and check for missing commas, extra brackets, or mismatched quotes. A valid JSON file must have each key-value pair separated by a comma except for the last one. If you are unsure, delete the file entirely and let Discord recreate it with default settings.
Discord Connection Methods: IPv4 vs IPv6
| Item | IPv4 | IPv6 |
|---|---|---|
| Address format | 32-bit numeric (192.168.1.1) | 128-bit hexadecimal (2001:db8::1) |
| Discord default behavior | Used as fallback if IPv6 fails | Preferred when available |
| Common failure mode | Rarely fails unless blocked by firewall | Timeout or black hole on broken networks |
| Fix method | Not needed | Disable in Discord settings.json |
| Effect on other apps | None | None — change is Discord-specific |
Forcing Discord to use IPv4 only is a safe, targeted fix that does not affect any other application on your computer. The change is reversible: delete the "DISABLE_IPV6": true line from settings.json and restart Discord to re-enable IPv6.