Step1: Login to the Windows server using admin login details
Step2: Click on start/windows (button) and search for ‘Windows firewall with advanced security’
Step3: In left side panel, click on ‘Inbound Rules’ and in right side panel click Actions > New rule
Step4: Click on ‘Scope’ under ‘Remote IP address’ choose ‘These IP addresses’ and enter the IP address
Step5: After adding IP address, click ‘Next’ and select ‘Block the connection’ to block the access from these IP address.
Step6: For PROFILE, leave all the options checked and click ‘Next’ and give the name for this rule as per your wish.
Step7: Finally, click on ‘Finish’.