I am doing some testing on a program connected to two DBs with same IP address and different port. I need one of the DB to be online and the other to be unreachable. I presume that the easiest way would be blocking communication with given IP and port (as I cannot change easily the configuration in the program itself).
As I am working on Win 7 I tried to use windows firewall, found out how to block an IP address but I am not sure how to create a rule combining IP address with a specific port. I guess I should use the "custom" rule option, but even when I combine the IP address with a specific outbound port all the traffic with the specified IP address seems to be blocked.
I will be glad for any advice!
As I am working on Win 7 I tried to use windows firewall, found out how to block an IP address but I am not sure how to create a rule combining IP address with a specific port. I guess I should use the "custom" rule option, but even when I combine the IP address with a specific outbound port all the traffic with the specified IP address seems to be blocked.
I will be glad for any advice!