Skip to content

Instantly share code, notes, and snippets.

@jeffhuys
Last active October 19, 2020 19:12
Show Gist options
  • Save jeffhuys/8936202 to your computer and use it in GitHub Desktop.
Save jeffhuys/8936202 to your computer and use it in GitHub Desktop.
Allow remote connections with the gearman-job-server on Debian.

This will allow for outside clients to connect to the gearman-job-server.

cd /etc/default/

nano gearman-job-server

In the last line at the bottom of the file:

PARAMS="--listen=0.0.0.0"

There you go. It took me some time to find it, so hopefully this will show up on some Google searches.

@Allianzcortex
Copy link

It's very useful. And you also need to sudo /etc/init.d/gearman-job-server restart to reboot the service.

When u build a service inside WSL and visit it from windows, then usually the Gearman server cannot work normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment