PRIVATEBYTE
ServersProxiesAgentsStatusNetworkAbout
Sign inDeploy

Tools / Port checker / 3306

Is port 3306 open?

Port 3306 is MySQL / MariaDB. Enter your server below to test it from Dallas, Amsterdam and London.

What port 3306 is used for

Default port for MySQL and MariaDB database servers. Applications on the same server normally connect through localhost or a Unix socket instead.

Should port 3306 be open?

Should not face the internet directly. Bind to 127.0.0.1 or a private network. If remote access is required, allow only specific addresses and require TLS.

How to open port 3306

Ubuntu or Debian with ufw, allowing only your own address (replace 203.0.113.10):

sudo ufw allow from 203.0.113.10 to any port 3306 proto tcp

Rocky, Alma or CentOS with firewalld:

sudo firewall-cmd --permanent --add-port=3306/tcp && sudo firewall-cmd --reload

Windows Server, in PowerShell as administrator:

New-NetFirewallRule -DisplayName "Port 3306" -Direction Inbound -Protocol TCP -LocalPort 3306 -Action Allow

Then check that the service listens on all addresses, not only 127.0.0.1, and test again above.

Check another port

21 FTP22 SSH23 Telnet53 DNS80 HTTP110 POP3143 IMAP443 HTTPS993 IMAPS995 POP3S1433 Microsoft SQL Server2083 cPanel2087 WHM2375 Docker API3000 Development servers3389 RDP5432 PostgreSQL5900 VNC6379 Redis6443 Kubernetes API8000 Alternative HTTP8080 Alternative HTTP8443 Alternative HTTPS9000 Portainer9090 Prometheus9200 Elasticsearch10000 Webmin25565 Minecraft27015 Steam / Source game servers27017 MongoDB

Run your service on a PrivateByte server: a firewall you control and every port yours to open.

PRIVATEBYTE

Infrastructure for independent minds.

Service status

Products

Virtual serversProxiesAgentsMigration

Resources

Looking glassSecurityBlogNews

Free tools

What is my IPProxy checkerPort checkerDNS lookupPassword generatorVPS price calculator

Company

AboutContactX / TwitterTelegram
© 2026 PrivateByte Ltd
TermsPrivacyAcceptable useRefundsAbuse & legalSLA

Registered in England & Wales · Company no. 15834803 · 128 City Road, London EC1V 2NX