10IPS IP & network intelligence
Port 3306

Port 3306 (MySQL) — check if it's open

MySQL / MariaDB. Should listen on localhost or a private network only.

Defaults to your IP: 216.73.216.200. Up to 12 ports per check; ranges up to 10 ports (e.g. 8000-8010).

FAQ

What is port 3306 used for?

Port 3306 — MySQL. MySQL / MariaDB. Should listen on localhost or a private network only.

How do I open port 3306?

1) Make sure the app listens on 0.0.0.0, not 127.0.0.1. 2) Allow the port in your firewall (Windows Defender Firewall inbound rule; Linux: ufw allow 3306). 3) Forward the port on your router to your computer's LAN IP. 4) Make sure you have a public (non-CGNAT) IP. 5) Verify it here.

Is it safe to keep port 3306 open?

Only open it if the service must be reachable from the internet, keep the software patched and use strong authentication. Put databases, SMB, RDP and admin panels behind a VPN.

Other ports

3389 RDP3000 Dev server4500 IPsec NAT-T2049 NFS1883 MQTT1723 PPTP5060 SIP1433 MS SQL5222 XMPP1194 OpenVPN5432 PostgreSQL1080 SOCKS All ports →