beanstalkd driver configuration error in laravel app

laravel, php, queue

Solution

Figured it out. Did these two things -

$ sudo vim /etc/default/beanstalkd
> START yes     # uncomment

$ sudo service beanstalkd start
# Alternatively: /etc/init.d/beanstalkd start

Got it from this link - http://fideloper.com/ubuntu-beanstalkd-and-laravel4

Problem

I am trying to use `beanstalkd` as the queue driver for my laravel app. I am getting this error when I am trying to push something on the queue. ``` Pheanstalk_Exception_ConnectionException Socket error 111: Connection refused (connecting to localhost:11300) ``` Please note that in '`queue.php`' I have just changed the default driver to '`beanstalkd`' but haven't changed any settings for the driver. The settings for the driver are as follows- ``` 'beanstalkd' => array( 'driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', ), ``` Please help me with this.

Original source