A
A
Andrey Titov2018-05-18 14:03:44
Composer
Andrey Titov, 2018-05-18 14:03:44

How to diagnose Laravel installation error?

When trying to install Laravel on Open Server 5.2.2 via command laravel new blog , a message appears:

cURL error 7: Failed to connect to cabinet.laravel.com port 80: Timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

At the same time, through
composer create-project --prefer-dist laravel/laravel blog
- everything is going well.
Composer updated.
This is what the error looks like on the command line, not in OpenServer
5b0908ed14b66660442880.jpeg
What could be wrong with settings or additional dependencies? How to diagnose an error?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
Henxed, 2019-01-26
@titov_andrei

Use free vpn . We choose PPTP , but we don’t need UDP, TCP, ZIP, this is who has OpenVPN installed.
If you are on windows 10, then you can enable VPN in Start > Settings (gear) > Network and Internet > VPN > Add VPN connection
At least you will not install Laravel every day. Therefore, it is enough for installation.

O
Oleg, 2018-05-18
@Austin_Powers

Judging by what is written in the docs at the link:

CURLE_COULDNT_CONNECT (7)

Failed to connect() to host or proxy.

and the fact that the site cabinet.laravel.comreturns a response through a proxy, these are still tricks of the RKN

D
Dozent_AS, 2018-10-26
@Dozent_AS

And how now to put through a proxy?
It seems to put but what will happen HZ

V
Vitaly Simakov, 2019-03-26
@vsting

Yes, it works through VPN.
I'm just in awe of our blockers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question