CyberHunter
Local dataset, no network
// Messaging & queues

Port 4730: Gearman Job Queue System

Port 4730 is assigned by IANA to gearman (Gearman Job Queue System).

4730

How gearman works

Messaging & queues
producerconsumerqueuegearman producerconsumerqueuegearman

Producers publish messages into a queue on port 4730; consumers pick them up in order, at their own pace.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 4730 dangerous?

We have no specific security note for port 4730. Its risk depends on the program actually listening on it. General advice for messaging & queues services:

  • Require authentication and TLS on brokers and coordination services.
  • Restrict clients by network and per-topic or per-queue permissions.
  • Remove default accounts.
02 Registry

IANA registry entries for port 4730

ServicePortTransportDescriptionReferenceUpdated
gearman 4730 TCP, UDP Gearman Job Queue System - 2009-01-16

// source: IANA service name and port number registry

03 Check it

Which program uses port 4730, and is it reachable?

Linux

sudo ss -ltnup 'sport = :4730'      # process listening on 4730
sudo lsof -nP -i :4730

macOS

sudo lsof -nP -i :4730

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 4730 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 4730
netstat -ano | findstr :4730

From another machine

nmap -p 4730 -sV <host>
sudo nmap -sU -p 4730 <host>
nc -zv <host> 4730

Block it in the firewall

sudo ufw deny 4730/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 4730" -Direction Inbound -LocalPort 4730 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 4730 used for?

Port 4730 is assigned by IANA to gearman (Gearman Job Queue System).

Is port 4730 TCP or UDP?

Port 4730 is registered for TCP and UDP.

Is it safe to open port 4730?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Require authentication and TLS on brokers and coordination services.

How do I check if port 4730 is open?

On Linux run "ss -ltnup 'sport = :4730'", on macOS "lsof -nP -i :4730", and on Windows "netstat -ano | findstr :4730" to see the local process. From another machine, "nmap -p 4730 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news