Will a firewall block local TCP communication between processes?

I am splitting the application into a tray application and a Windows service, and I want to use TCP to exchange data between the two *. Both of them will work on the same machine.

My question is, do firewalls block TCP communications between applications running on the same computer? I want to know if I need firewalls that I need to worry about when testing.

(* note that I want to use TCP instead of named pipes for communication, because applications may one day run on different computers, but this will be far in the future)

+4
source share
1 answer

The main task of the firewall is to manage incoming and outgoing network traffic! The firewall is designed to work on the basis of IP or PORT.

So, 100% you can block the connection on one computer. (I assume that you are using class A IP address [ 127.xyx ], which is mainly used for loop checking and interprocess communication on the local computer).

Some firewalls are preconfigured so as not to block the LAN connection, while others are configured to block them. But in any case, the firewall can be configured to enable / disable such a connection.

+1
source

All Articles