Please find attached a patch that fixes this.
I have also created a fork of German-Server on my github account which includes this patch:
https://github.com/plicease/Gearman-Server/tree/rt115350-default-port
plus a branch which combines fixes for rt#107045 and rt#89033:
https://github.com/plicease/Gearman-Server/tree/rt107045-rt115350-rt89033-combined-branch
commit b346cdb15277b413736a7e086f6b019f04a749dc
Author: Graham Ollis <plicease@cpan.org>
Date: Wed Jun 15 13:10:39 2016 -0400
rt#115350 use the correct (new) port 4730
diff --git a/gearmand b/gearmand
index 106c6bf..964f024 100755
--- a/gearmand
+++ b/gearmand
@@ -23,9 +23,9 @@ daemonization.
Make the daemon run in the background (good for init.d scripts, bad
for running under daemontools/supervise).
-=item --port=7003 / -p 7003
+=item --port=4730 / -p 4730
-Set the port number, defaults to 7003.
+Set the port number, defaults to 4730.
=item --pidfile=/some/dir/gearmand.pid
@@ -122,7 +122,7 @@ my (
$wakeup,
$wakeup_delay,
);
-my $conf_port = 7003;
+my $conf_port = 4730;
Getopt::Long::GetOptions(
'd|daemonize' => \$daemonize,