Restart the PlayStation®4 console system to refresh the network connection.
Go to Settings > Network > Test Internet Connection.
If you selected Manual under IP Address Settings or DNS Settings when you set the Internet connection for your PS4® console, make sure that the Primary DNS and Secondary DNS are set correctly.
In other cases, the system might not have obtained an IP address, or the DNS settings may have been changed. Please contact your Internet service provider for further assistance.