It's probably a router problem. Turn off the printer, then turn the router off for a couple of minutes. After the router is back online try turing on the printer again.
It is not a bad idea to check with your router's manufacturer and see if it's firmware is up to date. This is usually well hidden on the manufactures support pages, under downloads as often as not.