Curl error :- Failed to connect to 12... Connection refused | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Curl error :- Failed to connect to 12... Connection refused

There are some curl request that I am making in my laravel application , on local those are working fine , but on server , it's showing error as connection refused. Any idea what is happening here?

11th Feb 2021, 7:25 AM
Saurav Kumar
Saurav Kumar - avatar
2 Respostas
0
If you are sure your curl request is not defective, the next thing to look out for is if the site is SSL enabled (https) and if accepts cross-origin access. The latter you could find in your browser console.
11th Feb 2021, 10:43 AM
Fredericks
Fredericks - avatar
0
I think the SSL is enabled , but still no clue.
12th Feb 2021, 1:15 PM
Saurav Kumar
Saurav Kumar - avatar