How to change mysql port

for changing the mysql port, just change it in my.ini. Look for this line

port=3306

you should check mysql log and windows log for detecting why MySQL is not working.

You can also try disabling the firewall