Hi! @07861733, Welcome to HP forums.
I understand you have issues connecting your printer to the internet.
Don't worry I will try to help you out.
Did you make any changes to your printer?
How have you connected your printer to PC is it wired or wireless?
Please try the steps recommended below.
Restart the computer, printer, and router to resolve any error states present during the printer setup.
NOTE:
The following steps temporarily disconnect network and Internet connections and require restarting your computer. Complete any tasks or downloads in progress before continuing.
Disconnect the power cord from the router.
Turn off the printer.
Close all running programs on your computer, including the HP software installation window, then shut down the computer.
Reconnect the power cord to the router, then wait for the Internet activity light to display a normal connected status.
Turn on the printer.
Turn on the computer.
Try installing the HP driver and software again.
Refer this article to further troubleshoot Printer Not Found During Network Driver Setup.
Let me know how it goes!
Have a wonderful day ahead! 🙂
A4Apollo
I am an HP Employee