Windows 7 Firewall Port Exclusion not working
Hi,
I have a Java app that uses a ServerSocket to provide a socket (e.g. on Port 8080) on my Laptop and I have an Android app I'm developing which attempts to connect to the port. If I completely turn off the Firewall for the Home/Work network, the connection
works fine. I however want to restrict the firewall to only allow a single port to be accessable for this. I've set up a port exclusion as per the numerous postings on the web but the connection always times out as soon I turn the firewall back
on.
We've been battling with this all day - any ideas?
Thanks in advance,
Andy
April 25th, 2012 2:24pm
1. For test purposes I would disable firewall and log the traffic with network monitor NM (either from Microsoft of Wireshark). The best configuration include test computer and hub instead of switch.
Based on this testing you can safely manage firewall ports
2. Verify that the antivirus program (or additional firewall) does not block your application.
Regards
Milos
Free Windows Admin Tool Kit Click here and download it now
April 26th, 2012 7:43am
Hi,
Do you have disabled the antivirus? Double check if your app or JDK runs with other ports or services which are blocked.
Windows Firewall
http://windows.microsoft.com/en-US/windows7/products/features/windows-firewall
Open a port in Windows Firewall
http://windows.microsoft.com/en-us/windows7/open-a-port-in-windows-firewallIvan-Liu
TechNet Community Support
April 27th, 2012 4:00am