iphone 5s cannot connect to itunes store

my iPhone 5s cannot connect to iTunes network i tried connecting from a 4s as well but still could not connect i then tried to connect with my PC which also didn't work. connecting with a data plan or a VPN lets me connect to the store but this is not always an option does anybody have a solution to this problem?
Are you in a country where the store is unavailable? The fact that you can't connect over wifi would lead me to believe that either your ISP is blocking it for some reason, or your router is.
Can be a number of issues, here's a link that may help you with it.
Can't connect to the iTunes Store

Original thread: https://forums.imore.com/threads/iphone-5s-cannot-connect-to-itunes-store.278416/