Home > Magento Payment Module > Why do I get this error message: "Error: couldn't connect to host"

Why do I get this error message: "Error: couldn't connect to host"

Usually it means that the port through which the payment gateway communicates with the shop is closed. Please ensure that these ports are open for these payment gateways. You will need to contact your Webhost and ask them to open outbound traffic on the following ports.

  1. FirstData or LinkPoint:
    port 1129

  2. PSiGate:
    port 7989 (for dev.psigate.com) 
    port 7934 (for secure.psigate.com)