you might be checking the current daemon/process ids through XAMPP control panel ..xampp does not changes port numbers on it's own..
restart your system or restart apache and you will find these numbers again changed to some other numbers..
i hope this resolves both of your queries..