cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,272
313
Houston
Hello @QuentinC


First of all, just out of curiosity why would you want to block 3306? This the port MySQL listens on. If you do need to block it for some reason, you can do so using your firewall. If you're running just iptables something like the following should work:

Code:
iptables -I INPUT -p tcp –-dport 3306 -j REJECT