I take it you checked other appliances work on the socket. Check the fuse in the plug. Could be the computer battery has had it, how long since last change? easy to change it. Take off cover-locate battery-buy a replacement(boot the chemist are good).
If PC has remained pluged in the same place for some time then moved it could be the CMOS battery.