Is your computer connected to the network? Is this the first time you are trying to connect the printer with your computer? First of all, restart your printer, your computer and the wireless router and reconnect them again. Install the printer software or reinstall the printer software into your computer. There are some cases if you have installed or updated security softwares, the connections are blocked. Remove the restriction or disable the security software. Run the HP print and scan doctor. Let me know if this helps.