cloudnine
By:
cloudnine

Has anyone managed to get a beanstalk admin console to work?

October 10, 2017 87 views
Messaging Ubuntu 16.04

I have been trying to get an admin interface working for beanstalk on my Ubuntu 16.04 server. The one I chose was https://github.com/ptrofimov/beanstalk_console which is the most frequently recommended web interface for the beanstalk queues on a Laravel application.

I installed the console code at "/home/<user-name>/publichtml/beanstalkconsole" and then navigated to that folder and started the php server with this command, as per the instructions:

php -S xxx.xxx.xxx.xx:7654 -t public

where xxx etc. is the IP address of the droplet.

I got a response that seemed to indicate the console was working as expected:

PHP 7.0.22-0ubuntu0.16.04.1 Development Server started at Tue Oct 10 02:02:10 2017
Listening on http://xxx.xxx.xxx.xx:7654
Document root is /home/<user-name>/public_html/beanstalk_console/public
Press Ctrl-C to quit.

However, when I try to bring up the web console by visiting http://xxx.xxx.xxx.xx:7654, I get a blank page in the browser. No matter what I try, the beanstalk web console page doesn't launch.

In /etc/default/beanstalkd, the settings are the default:

BEANSTALKD_LISTEN_ADDR=127.0.0.1
BEANSTALKD_LISTEN_PORT=11300

I have a feeling I am missing something but am not sure what that is. I hope someone here could share some insights into what is wrong with my setup.

Thanks in advance.

1 Answer

if u server some info.php on the same ip and port it works? did u tried to run it on port 80 or 8080?

  • Thanks. Yes, info.php on the same IP does work. In fact, there are multiple LaRavel projects in different sub-domains, all working fine on the same IP.

    I didn't try running it on Port 80 or 8080, as the docs suggested initiating the PHP server on that specific port.

Have another answer? Share your knowledge.