Check the Printer's Connection.
Restart the Printer, Router, and PC.
Turn on Web Services From the Printer's Embedded Web Server Webpage.
Adjust the DNS Settings for the HP Printer.
Update HP Printer Firmware.
Run the HP Print and Scan Doctor.
Regards,
J Wick