Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration
Last updated 2 years ago.
0

I know it sounds like a stupid question but... do you have internet connection? Failing that the host could be down.

Last updated 2 years ago.
0

Wrong IP, site is down, blocked port...

I tried pinging the IP but the request timed out, so it's most likely first or second

Last updated 2 years ago.
0

I'm having the same problem since yesterday, before I installed yosemite.

Last updated 2 years ago.
0

jonlambert said:

I know it sounds like a stupid question but... do you have internet connection? Failing that the host could be down.

Hey jon, thanks for the reply - there's never such a thing as a stupid question, haha! But, I do have full internet connection (going strong at 72/10)!

pogachar said: Wrong IP, site is down, blocked port...

I tried pinging the IP but the request timed out, so it's most likely first or second

Is there a fix, or is it from laravel's side?

Last updated 2 years ago.
0

Does anyone know of a fix for this?

**Edit: So I fixed this by running the following:

composer create-project laravel/laravel your-project-name --prefer-dist

Instead of:

 laravel new your-project-name

Hope this helps.

Last updated 2 years ago.
0

@muyiwaolu, I was getting the same error today evening but after I updated all globally installed composer packages using:

composer global update

the issue sorted itself out. Hope this helps you or anyone else facing the issue out!

Last updated 2 years ago.
0

abhishekbhardwaj said:

@muyiwaolu, I was getting the same error today evening but after I updated all globally installed composer packages using:

composer global update

the issue sorted itself out. Hope this helps you or anyone else facing the issue out!

Works perfectly after update

Last updated 2 years ago.
0

Hi guys

I have the same

I update composer to the last version and update laravel installer too

composer self-update
composer global update
composer global require "laravel/installer=~1.1"

But bug still exist

I verify the host used on NewCommand.php

$response = \GuzzleHttp\get('http://cabinet.laravel.com/latest.zip')->getBody();

But when I try laravel new myApp...I have the same error

Failed to connect to 192.241.224.13

Maybe I need to delete the cache of Composer ? How can I do it ?

Any idea ?

Problem solved by deleting old laravel.phar from /usr/local/bin

Last updated 2 years ago.
0

reached the same error just now.

Last updated 2 years ago.
0

In case anyone is having this problem:

  1. delete the old laravel.phar from /usr/local/bin (as messi89 mentions above)

    sudo rm /usr/local/bin/laravel

  2. make sure you add the installer directory to your shell path

    PATH="~/.composer/vendor/bin:$PATH"

That should do it.

Last updated 9 years ago.
0

Works for me! :)

twopiers said:

In case anyone is having this problem:

  1. delete the old laravel.phar from /usr/local/bin (as messi89 mentions above)

    sudo rm /usr/local/bin/laravel

  2. make sure you add the installer directory to your shell path

    PATH="~/.composer/vendor/bin:$PATH"

That should do it.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

muyiwaolu muyiwaolu Joined 24 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.