Firewall against hp3050 j610

I have a new multifunction hp deskjet 3050 j610,and when i select the scanner, it says that the scanner is not available. I tryed to switch off the firewall and it works. I don’t want to let the firewall switched off. What must I do…
Best regards.

Hey and warm welcome to comodo forums!

Add the scanner application exe in Application rules (CIS → firewall → Add a new trusted application -->)

if the info above doesn’t help look below.

go to Start → run → cmd → ipconfig /all. find the ip address to you

now go to CIS → Network Security Policy → Stealth Port Wizard → Define a new trusted Network → I would like to trust and define a new network.

Regards,
Valentin N