curl error on my webhost

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
hugo
New php-forum User
New php-forum User
Posts: 2
Joined: Wed Nov 04, 2020 5:28 am

Wed Nov 04, 2020 5:38 am

Hi
When I use the curl function in php on my webhost to communicate with https sites. then I get sometimes the following error:

Code: Select all

Failed to connect to www.elevator-audio.co.uk port 443: Connection refused
When I use the same function on my local XAMPP installation, then it works fine.

As i works I think it must be a setting on my webhost.
Any idea ?

Thanks
Hugo
simonbrahan
php-forum Fan User
php-forum Fan User
Posts: 90
Joined: Mon Jun 08, 2020 2:00 am
Contact:

Fri Nov 06, 2020 10:15 am

You need to contact your web host, they should be able to debug it for you.
hugo
New php-forum User
New php-forum User
Posts: 2
Joined: Wed Nov 04, 2020 5:28 am

Sat Nov 07, 2020 2:46 am

I will do so. Thanks.
Post Reply