Try using a different port number as (1337 is default). Try 4545 as i did today worked fine.
After u setup proxy server
Log into the PSN and navigate to the "PlayStation Network" column on XMB and launch "What's New" item (if you are not logged then it asks you to log in, just do it and try again).
Wait some time until news appears. If everything is ok, then you should see "IDPS have been successfully written to idps.bin" message in cmd screen. Now you can disable using a proxy in the network settings.
yeaa thanks bro ive tried multiple things and i havent had any luck i did everything youve said and i know how to do it since i walked 3 of my friends through it on skype and its just not working for me internet connection fails everytime so i cant sign in and if i still try it i get an error im disapointed tbh im usually good with this crap