Support the ongoing development of Laravel.io →
Configuration

Hey folks,

I recently faced a problem with Homestead that after days and hours could not find a solution!

First, when I change my queue driver to Beanstalk, after calling queue:work or queue:listen I get:

[Pheanstalk\Exception\ConnectionException] Socket error 61: Connection refused (connecting to localhost:11300)

I tried 127.0.0.1 and 192.168.10.10 instead of localhost but still getting the same error and only the ip changes!

The second problem: my DB_HOST on .env file is set to localhost and it works perfectly when I run the app on the browser. However, if I want to test something on Tinker or run a migration command I need to change to 127.0.0.1 otherwise I get Connection refused error. In other hand, when it is set 127.0.0.1 the app is not working and it is good for the migration or tinker! Again, here I tested 192.168.10.10 but same error!

I guess I'm missing something! Have you guys ever had these problems?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2025 Laravel.io - All rights reserved.