windows stop port 3306 code example Example: free port number 3306 in windows 10 Just Open task manager and Kill MySql service.