unable to connect to app store

my phone was locked,but they told me its still useful using a wifi.,.the problem is im unable to connect to app store.
and because I havnt think of any ways ,ive reset the phone..and all gone and still im unable to connect to app store.
what should I do?pleaaasse
Not sure, but here's a link that might help https://www.google.com/url?sa=t&rct...P0ROQdukWNpNGaRRS2IvtfA&bvm=bv.55980276,d.cWc

Original thread: https://forums.imore.com/threads/unable-to-connect-to-app-store.269315/