How to allow Discord through firewall

Discord rarely conflicts with the Windows Firewall. However, such situations are possible. Due to incorrect settings, various problems and errors in the program may happens.

In this article, we will look at how to allow Discord through firewall in case of blocking by the built-in defender.

How to Add Discord to Windows Firewall Exceptions

Allowing Discord for Firewall is very easy. You need to add it to the whitelist in the Firewall settings. To do this, follow these steps:

  1. Open Windows Security by clicking on the icon in the system tray;
    Open Windows Security
  2. Go to the “Firewall & Network Protection” section;
    Firewall & Netword Protection Windows
  3. Click “Allow an app through the firewall”;
    Allow an app through firewall
  4. Activate the checkboxes on Discord;
    Allow Discord through Windows Defender firewall
    If there is no Discord in the list of allowed applications, then you should add it manually. To do this, click “Allow another app” and add the path to the executable exe file.
    Add another app to Windows Defender Firewall
    If you don’t know where the file is located, you can right-click on the Discord shortcut on your desktop, go to properties and in the Start in line see the path to the file. The file is located in the app-1.0.9004 folder.
    Path to Discord
  5. When all settings are set, click “OK”;
    Allow app to communicate through the Windows Defender Firewall
  6. Next, go to Advanced Settings;
    Advanced settings of Firewall & Network Protection
  7. Open Inbound Rules;
  8. Click “New Rule” in the right part of the window;
    New Rule fo Windows Defender Firewall
  9. Select the rule type “Program” and click “Next”;
    Rule type Windows Firewall
  10. Click Browse and add the path to Discord;
    Rule for program - Windows Defender Firewall
  11. Activate the item “Allow the connection” and click “Next”;
    Allow the connection for Discord through the Firewall
  12. Activate the checkboxes opposite the required connection types and click “Next”;
    Rule Profile
  13. Give the rule a name and click Finish. The description field can be left blank.
    Name for Rule

How to Add Discord to Firewall Exceptions with Command Prompt

Another quick and convenient way to add Discord to Windows Firewall exceptions is to use the command prompt or the Windows PowerShell application. Let’s take the last as an example:

  1. Right click on the Windows button;
  2. Select “Windows PowerShell (Admin)” from the menu list;
    Windows PowerShell open
  3. Copy the command:
    netsh advfirewall firewall add rule name=”Discord” dir=in action=allow program=” C:\Users\Yuriy\AppData\Local\Discord\app-1.0.9004\Discord.exe” enable=yes
    You need to add your path to the Discord executable file. You can view the correct address to the file in the properties of the shortcut on the desktop.
  4. Press Enter. The fact that everything went well will be notified by the appeared “OK” in a new line.
    Add Discord to Firewall Exceptions with command

That’s all. Now you know how to add rule and allow Discord through firewall in case it was blocked by Windows Defender Firewall. You can unblock any program in this way.


Leave a Reply