问题
I have a local Apache server and I want it to be accessible from other machine. I found out that it's possible after turning off (the external, Windows based) firewall.
Can I make it accessible from a specific IP without turning the firewall off?
回答1:
Go to Windows Firewall GUI and add an exception from the Exceptions Tab..while adding the exception you can change it's scope and can provide a specific IP under Custom List..
Do ensure that the Don't allow exceptions checkbox on the General Tab under the Windows Firewall GUI is Unchecked..
Voilà your Apache server is now accessible from a specific IP without turning the firewall off..!!
来源:https://stackoverflow.com/questions/13179799/how-to-allow-specific-ips-though-the-firewall