Port 3306 (MySQL)
Registered TCP and UDP services for port 3306 from the IANA registry snapshot.
Classic MySQL protocol connections commonly use TCP 3306. The server can bind the listener to a specific address or use a custom port.
| Protocol | Service name | Registry description |
|---|---|---|
| TCP | mysql | MySQL |
| UDP | mysql | MySQL |
Match both the port number and the transport when documenting a service. UDP 3306 and TCP 3306 identify separate sockets. Check the host configuration to identify the application actually listening.
Check the port on your Windows host
Open PowerShell on the computer running the service. Compare LocalAddress with the configured interface and check which clients the firewall allows.
- TCP ·
Get-NetTCPConnection -State Listen -LocalPort 3306· Inspect local TCP listeners - UDP ·
Get-NetUDPEndpoint -LocalPort 3306· Inspect local UDP endpoints