If your HP printer not connecting to WiFi, restart it and your computer or mobile device; if your printer has a Wi-Fi setup mode, restore it. Navigate to the Wireless or Setup menu and select Settings. Now, choose Restore Network Settings. Another fix is to restore Wi-Fi Setup mode through the HP Smart app. If you don't have the app, get it from 123.hp.com. https://www.hpprintersupportpro.com/blog/my-printer-stopped-working-wirelessly/