Port 2021Service Exec (servexec)

IANA registers 2021 for servexec, a legacy remote service execution service; widespread modern use is not established.

transport
tcp · udp

2 transports registered

in transit
cleartext

payload readable on path

assignment
official

registered with iana

risk
7/10

risk

lookups
0

rank 993 of 6,668 · top 15%

Technical Details

what runs on :2021

Service Exec (servexec) uses port :2021 over tcp and udp. We don't have a technical write-up for it yet.

find what's listening on :2021

this machine
# linux
sudo ss -tulpn 'sport = :2021'

# macos / bsd
sudo lsof -nP -i :2021

# windows (then: tasklist /FI "PID eq <pid>")
netstat -ano | findstr :2021
another host
nmap -sV -p T:2021 <host>
sudo nmap -sU -sV -p U:2021 <host>

run it? the handshake, the implementations you meet in the wild and the flags that matter come from the engineers who do.

add technical details

Security Information

exposure of :2021

risk score

7/ 10risk

treat as sensitive. widely scanned and regularly exploited when reachable — restrict it to known sources.

remote access averages 4.0 across 246 ports — this one sits 3.0 above.

in transit

cleartext

credentials and payloads are readable by anyone on path

assignment

official

registered with iana for this service — scanners fingerprint it by number

reachable over

tcp · udp

udp is connectionless — source addresses are trivially spoofed and it is a reflection favourite

security overview

If a listener is providing remote service execution, exposing it could allow remote command execution and should be treated as high risk. The IANA assignment does not specify authentication or encryption, so do not assume the service is protected; avoid exposing an unidentified listener to the internet.

the 8 most looked-up other ports in remote access — 246 ports carry that label.

risk mix of the 8 listed

  • safe13%
  • caution88%

0 of 8 encrypted