2. After clicking the inbound rule, click New Rule on the right. After clicking New Rule, click Select Port, and then click Next. After clicking Next, if you want to close the port 135, enter 135 and 137, and then click Next. Check the blocked connection, and then click Next. After clicking Next, check all the boxes, and then click Next. Enter a name, the port is blocked, and then click Finish. When you click Finish, the port closes.