First thing to look at is any fire wall you have set up, it may be that there is a fire wall setting blocking communication on the ports you are trying to use.
if you still have a problem after disabling your fire wall, I would go to the Apache friends forum. They are more geared to troubleshooting XAMPP than this forum is.
I found this similar thread over there:
https://community.apachefriends.org/f/viewtopic.php?f=16&t=47645