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