You can't block specific port with IP filter. Clients are free to change ports at any time anyway. You can block it with your system firewall settings, but what is your goal? I think you misunderstood something. Please describe your actual problem here.
To block a subnet of 256 addresses, you can use, for example, 12.34.56.0/24 or any other form listed in the manual:
https://support.tixati.com/ip%20filter%20format