How to change port of mysql and apache on xampp trycode 1 year ago How to change port of mysql and apache on xampp In here, mysql port is changed to 3307. Apache port is changed to 81 and apache ssl port is changed to 4433. But default of mysql is 3306 and apache ports are respectively 80 and 443.