"Internet is not working" → How do we troubleshoot?
Reboot the router.
This wastes time and maybe it even wasn't the reason. If it was, you need a new router.
In any case it's good to have an instant indicator to get a feeling if there is a live connection to the outside.
First check if PC → PS link is down.