These are both networking error codes... It may be related to the settings on your router.
Are you using a Proxy of any kind? Test your phone with cellular data or on another WiFi if possible to rule out the phone.
If you need more help, please sign up for the site so you can reply to this thread. The thread is getting bumped and maybe someone who knows more about networking will chime in.