To completely block an IP# from a server you'll need to use your firewall.
To block IP#s for specific services that are either managed by inetd or xinetd, or which have support for "hosts" compiled in, then you can use /etc/hosts.allow and /etc/hosts.deny.
The "man" manual system is your friend:
man hosts.deny
man hosts.allow
Jeff