Welcome to the HP Support Community. I'd be happy to assist you with the "cannot connect HP Webservices" issue.
Make sure your wired (Ethernet) or wireless network is working correctly and the printer is connected.
Make sure the printer is not connected with a USB cable.
When a USB cable is connected to the printer, the printer cannot connect to Web Services.
If you are using a wireless router, check your router’s documentation or support website to make sure it meets the following requirements:
Check the router band: Many routers can operate in both 2.4 GHz and 5.0 GHz frequency bands, but not all HP printers support both bands. Make sure the 2.4 GHz router band is enabled and broadcasting. If the router broadcasts separate network names (SSIDs) for each band, connect the printer to the 2.4 GHz band SSID. If the printer supports 5.0 GHz, connect it to the 5.0 GHz band SSID.
Bonjour support (Mac only): HP recommends routers that support Bonjour, Apple's network discovery software. Connecting with Bonjour is the best way to find the printer and support wireless printing.
Make sure your printer is not connected to a guest or host network, such as those networks found in schools, hotels, or home networks that allow guest logins. For more information see Can't Print on a Guest or Host Network.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Have a great day!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".