Hi
I have a server where there are 2 process ( .net and java ) communicate using WCF service using TCP binding .Java application host the WCF service at a random port ( any free port) and listen for message from the .net application.
I want to write a firewall rule for the random port that will allow inbound connection only for the "JavaApp" and block any application out side the server .
Does the following rule full fill this
netsh advfirewall firewall add rule name="JavaAppName" dir=in action=allow program="JAVA_APPLICATIONPATH" enable=yes
thanks and regards
Somaraj