Control panel > Windows Firewall > Advanced Settings (in the left side panel). This Opens up an mmc window for advanced firewall configuration.
In the left panel, choose Inbound or Outbound rules.
Right panel, click New rule.
In the dialog, choose “custom”.
In the left again, go to “Scope.” When you add an IP, you can add a range.
Remote IP address enter 18.104.22.168 which is localhost.
via Super User