Xampp used to work before, but one time my computer restarted itself when I wasn't home, and after that it could no longer connect to port 80. After this I changed the port to 1234. It's able to connect, but it cannot access any of the virtual hosts by name. Also if I add NameVirtualHost *:1234 to the vhosts file, it gives a warning that there are no virtual hosts for 1234. In the past when I used port 80, I didn't have this line at all and it was still working, but some sites claim you're supposed to have it.
The contents of my vhost file.
CustomLog "logs/phpmyadmin_loc_access.log" combined
CustomLog "logs/otherworld_loc_access.log" combined
Also I can't change back to port 80 because it still says something about port 1234, so it continues being defined somewhere even if I try to switch back to 80. I would rather use another port than 80 so I wouldn't have to disable skype. I already disabled some Windows server program that was interfering with it in the beginning, and it no longer appears on the list of programs.
If I go to localhost:1234 it loads phpmyadmin which is the default, but there's no way to access otherworld.loc. If I type that into the address bar, it gives a blank page.