Outgoing connections are a necessary feature for modern websites. They are used to establish a connection to external servers. In this article we will review how to enable the outgoing connection for your hosting account.
Enabling outgoing connections
The outgoing connections are a premium feature and thus are available only for our Premium Hosting Plans. If you are using the Free Hosting Plan and you would like to enable them you will first have to upgrade your plan.
To enable the outgoing connections for your account simply follow the steps bellow:
- Login to your Hosting Control Panel
- From the Hosting Tools menu open the Hosting Settings page
- Scroll down to Firewall Options and enable the HTTP Outgoing connections
Currently you can only enable HTTP(s) Outgoing connections from the Hosting control panel. If you would like to establish a SMTP connection please refer to our article here.
Outgoing connections are enabled but my website still cannot connect to the external server. Why?
The most common reason for your website to not establish a connection to an external server, after you have enabled the outgoing connections would be if the PHP extension curl is disabled.
To save you the extra step we have the curl extension enabled by default on all paid hosting plans. This can be seen inside the php.ini file from the PHP Settings page. The settings inside the php.ini are global for your hosting account. Because of this, having a php.ini file inside your website directory would overwrite the settings inside the global php.ini file.