what port does xampp use code example
Example 1: smtp server xampp
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-gmail-id@gmail.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
Example 2: how to change the port on xampp mysql
Step 1: First, reach in the folder where you have installed your Xampp Software.
Step 2: After that, go to the destination file – mysql/bin/my.ini (The ‘my‘ file with extension of Configuration Settings)
Step 3: In that file, you’ll be seeing some lines of code like this:
[client]
port = 3306
socket = "xampp / mysql / mysql.sock"
Just change the port to 3306
Step 4: Just below, you would find these lines of code:
[mysqld]
port= 3306
socket = "xampp / mysql / mysql.sock"
Just like before, here also update the port attribute to 3306
Step 5: And that’s all! Just close off MySQL and Start it again to see the new port working.