It has nothing to do, if you have connected a phone, a tablet, anything after the ps4 being turned off and this has given the same ip that has the console problems begin.
Enter the network settings, assign a manual ip and enter these values:
DNS 1: 126.96.36.199
DNS 2: 188.8.131.52
Reboot the console and redo a test of connection, it is sooooo strange that fails of that with a sad month, it sounds more to failure of configuration. So sure that no device stepping on the ip.