If you can't access PSN via a console or sign into any PlayStation websites it means your public IP addresses is being blocked by PSN's DDOS security.
If your ISP runs with a dynamic IP address you maybe able to force a change by powering down your router/modem of for a few minutes,this may take a few attempts if not contact your ISP for assistance to see about an IP address change.