Can't log into Aeria Ignite on my iPhone 4

Keeps saying Network Error Connection Failed

Every time I try to log into Aeria Ignite in Pirate Maidens on my iPhone 4 it says Network Error Connection Failed. The game works, but I want to link it with my Aeria Ignite account so I can restore my iPhone without losing my data on Pirate Maidens. Please help if you can.