Level 16
Maybe try with https.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
My code is like below.
$response = Http::post('http://sometext/login', [
'email' => $request->email,
'password' => $request->password,
]);
I am getting below error.
cURL error 28: Failed to connect to xx.xxx.xxx.184 port 80: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://sometext/login
Please or to participate in this conversation.