How To Allow Java Through Firewall Windows 10

Windows Firewall is a security feature in Windows that helps protect your computer from unwanted network activity, such as hackers trying to steal or change information and malicious software attempting to spread itself to other computers. It can block/allow an app from running or at least make it harder. But there is a way around this and will enable an app through the firewall in Windows 10.

How To Allow Java Through Firewall Windows 10

  • Click on Start and type “Allow an app through Windows Firewall.” Then choose it from the list.
  • Click on “Allow an app or feature through Windows Firewall.” The list of installed apps and features will be shown:
  • Scroll down to find Java, then click it and choose “Change Settings.”
  • On this screen, find “Allow Another App” and click it:
  • Locate Java from the list of apps and click on it:
  • The list of all the apps that can be allowed through the Windows Firewall will appear. Select an app, then click on “Add” and confirm your choice:
  • Click OK to save the changes

O, To make sure everything works properly, open your java app and check if it’s working or not now. By doing so, you are allowing the app to pass through a firewall. By following this, you can easily allow java through firewall windows. These are simple ways.

How To Check If Windows Firewall Is Blocking A Program?

If some app is not working or giving an error, make sure the firewall does not block it. To check if a firewall blocks the app or not, follow these steps.

  • Go to Control Panel > Windows Firewall.
  • Open “Windows Firewall” and select the option called “Advanced settings.” Locate the application on which you want to allow access to work correctly, right-click on it and choose “Allow an App through Windows Firewall.”
  • In the next window, select “Change scope” and ensure that all three checkboxes are ticked. Otherwise, your application won’t work correctly. Inbound rules should be enabled as well. If you have a local network, you will also allow it by ticking the last two boxes for your app to connect to the internet.
  • Now click on “Ok” to save the changes.

After that, you have to follow the same steps for every application that gives an error due to Firewall Blocking. Be careful while allowing any app through firewall windows, as it will also give you access to the internet. So make sure that only required apps are enabled on your system.

Adding Exceptions To The Windows Firewall

Windows Firewall operates as a firewall for host-based traffic you assign to an IP address, unlike router-based firewalls that you put at the boundary of a private network and the Internet. For inbound traffic, Windows Firewall is reliable. You must configure firewall exceptions if System Recovery Monitor or System Recovery console is used remotely. You do not need to configure firewall exceptions if System Recovery is configured locally.

Add Port Exceptions to the Windows Firewall step-by-step guide.

  • Right-click the Windows Start button and select the Control Panel.
  • Click Windows Firewall.
  • Click Advanced Settings.
  • Click the Inbound Rules tab.
  • Click New Rule on the right side.
  • Select the protocol type to TCP, UDP, or both for your port(s) and click Next.
  • Specify the local and remote port numbers that the program uses, then click Next.
  • Specify exceptions for Domain, Private and Public networks and click Next.
  • Select the option “Allow the connection.”
  • Do not change any option here and click Next.
  • Specify a name for this rule and click Next, then click on “Create the rule.” 
  • Click Finish.

Now the program should communicate with other apps on the network so that your program can work properly.

Add Program Exceptions To The Windows Firewall

  • Go to Control Panel > Windows Firewall.
  • Open “Windows Firewall” and select the option called “Advanced settings.”
  • Click Inbound Rules, then New Rule.
  • Choose the program you want to add and click Next.
  • Select “All programs” to allow access for all apps, or choose a specific one.
  • Click Next, and then click on “Allow the connection.”
  • Select When to apply the rule (Domain, Private, or Public), then do not change any option here and click Next.
  • Specify a name for this rule and click Next, then click on “Create the rule.” 
  • Click Finish.

You can easily add any application through your Windows Firewall and enjoy using it without any hassle by following these steps. The other great thing about Windows Firewall is that if multiple apps are running on systems trying to access the internet simultaneously, it will allow all of them without any issue.

How To Turn Off Windows Defender Firewall?

If you don’t want to allow any app through Windows Firewall, it’s better to turn off the firewall. To do so, follow these steps:

  • Click Start and enter “firewall” in search Click on “Windows Defender Firewall.”
  • On the left side, click Turn windows defender firewall on or off. 
  • Check the “ON”  box if you want to turn it on, and check the box before “OFF” if you want to turn it off.
  • Click Ok and Apply changes.

Now the Windows Firewall is turned off on your system, which means that no app will be allowed through it. Even if you allow anyone by mistake, there won’t be an issue because the firewall is already turned off in this case.

In general, Windows Firewall is considered a reliable method to block or allow any app through it in a Windows operating system. Keep this in mind and use it whenever you need to allow an app through firewall windows for your system. sure that you know which apps are enabled and which ones have been turned off due to security reasons. Don’t forget about the Domain, Private, and Public network settings, as those are essential.


Java is one of the most popular programming languages used by people around the world, but if for any reason it gets blocked, then your app won’t work correctly. So make sure that Java isn’t blocked on Windows Firewall before starting any project, as it will also give you access to the internet. And remember that your app needs to function correctly, so be careful while making any changes to Firewall.

Recent Posts