On Windows systems, you must use fully qualified domain names (for example, myhost.mydomain.com) instead of the short name (for example, just myhost) for Windows hosts in setting IP-based request filtering properties, even though Windows commands such as hostname and ipconfig /all and Java the API InetAddress.getLocalHost().getHostName() return short host names.
For example, the following command denies access by Windows host foobar:
asadmin --user adminuser --password adminpasswd --echo server.http-service.virtual-server.server.property.denyRemoteHost=foobar.sun.com
Note that the host name is fully-qualified with the DNS domain name, foobar.sun.com.