When I'm trying to show the port that's opened in my server show to me the port : 3306 and this port for mysql database
How can I close mysql port (3306) and make it just for local connections mean just local connections can connect with this port?
thnx.
Add the following line in your my.cnf:
[mysqld]
bind-address=127.0.0.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With