I’m Struggling to get SagePay to play nicely. The error I’m getting is:


Failed to connection Permission Denied (7)

and it looks to me like it’s in and EE message box (See screenshot attached)

We’ve got everything in place such as HTTPS redirect, SSL, secure forms, IP addresses added to SagePay, in testing mode and using testing details but we keep hitting this error when we press “Pay” on the last step.

SagePay are saying it’s not on their end due to nothing even getting to their system (Transactions / Errors) and our host is saying it isn’t their fault and the firewall isn’t blocking anything!


enter image description here

  • Have you set sage test server up? You need to authorise the IP that the payments are mount from. Usual process is to login to test.sagepay.co.uk and add your server IP. Run a test payment though, in test mode, then do the same dor live.sagepay.co.uk.
    – T2theC
    Sep 12, 2013 at 18:03
  • Oh and it does look like an odd message. Usually sage give you an error code you can look p.
    – T2theC
    Sep 12, 2013 at 18:04
  • @T2theC Yeah thats what we've done. It's set to test mode in Cart Throb, and the IP address of the server has been added to SagePay in both Test & Live. I just can't work out what is throwing the error... EE, SagePay or the Server?!
    – Jason Mayo
    Sep 12, 2013 at 20:53
  • Email your vendor details to [email protected] and I can take a look for you. If you have a txid for the transaction, that would be great too. Sage Pay Support
    – user2053
    Sep 13, 2013 at 13:33
  • Thanks - We managed to fix this issue, and you'll be glad to hear it wasn't a SagePay problem but our hosts server @sage-pay
    – Jason Mayo
    Sep 13, 2013 at 14:39

1 Answer 1


Disabling "Selinux" on the server fixed this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.