Port 5022Microsoft SQL Server Database Mirroring

TCP 5022 commonly carries SQL Server database mirroring and Always On availability-group traffic.

transport
tcp · udp

2 transports registered

in transit
encrypted

payload protected on the wire

assignment
official

registered with iana

risk
5/10

caution

lookups
0

rank 993 of 5,347 · top 19%

also known as mice, SQL Server Database Mirroring, Always On availability-group endpoint

Technical Details

what runs on :5022

SQL Server database mirroring and Always On availability-group endpoints commonly listen on TCP 5022. They use SQL Server's database-mirroring endpoint protocol, not the ordinary client-facing TDS connection protocol; SQL Server instances authenticate and exchange replica and database state over the endpoint. The port is a convention rather than a requirement and can be changed. This widely encountered use differs from IANA's “mice server” assignment; SQL Server does not use UDP 5022 for this endpoint.

Security Information

exposure of :5022

risk score

5/ 10caution

worth attention. how exposed you are depends on configuration — don't leave it reachable from the internet without a reason.

databases averages 3.7 across 145 ports — this one sits 1.3 above.

in transit

encrypted

payloads are protected on the wire

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

This endpoint is for communication between SQL Server instances, not general client access. It should normally be limited by firewall rules to the participating replicas and should not be exposed to the public internet. SQL Server endpoint configuration supports authentication and encryption, with encryption required by default for database-mirroring endpoints; verify the actual endpoint settings and authorized peers.

the 8 most looked-up other ports in databases — 145 ports carry that label.

risk mix of the 8 listed

  • caution100%

1 of 8 encrypted