Windows 7 Firewall Port Exclusion not working
-
2012年4月25日 18:24
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
すべての返信
-
2012年4月26日 11:43
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
- 回答としてマーク Arthur XieMicrosoft Contingent Staff, Moderator 2012年5月4日 7:50
-
2012年4月27日 8:00
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-firewall
Ivan-Liu
TechNet Community Support
- 回答としてマーク Arthur XieMicrosoft Contingent Staff, Moderator 2012年5月4日 7:50

