CyberHunter
// Other services

Port 2240: RECIPe

Port 2240 is assigned by IANA to recipe (RECIPe).

2240

How recipe works

Other services
client:2240reciperesponse client:2240reciperesponse

The client sends a request to port 2240 and the recipe service answers.

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 2240 dangerous?

We have no specific security note for port 2240. Its risk depends on the program actually listening on it. General advice for other services services:

  • Close the port if nothing on the host needs it.
  • Identify the process that listens on it (commands below) before opening it in a firewall.
  • Expose a service only to the networks that use it.
02 Registry

IANA registry entries for port 2240

ServicePortTransportDescriptionReferenceUpdated
recipe 2240 TCP, UDP RECIPe - 1997-12-16

// source: IANA service name and port number registry

03 Check it

Which program uses port 2240, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :2240

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 2240 is assigned by IANA to recipe (RECIPe).

Is port 2240 TCP or UDP?

Port 2240 is registered for TCP and UDP.

Is it safe to open port 2240?

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. Close the port if nothing on the host needs it.

How do I check if port 2240 is open?

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

05 Related