how ti check if 3306 port is free or not code example Example: free port number 3306 in windows 10 Just Open task manager and Kill MySql service.