Issue with Apache/XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Issue with Apache/XAMPP

Postby DogsPaw » 22. April 2015 01:07

So a few weeks ago I threw in XAMPP and set it up to the best of my knowledge. I was using it for a Minecraft Forum, as well as the MySQL for Multicraft. The OS XAMPP was installed on was Windows Server 2012 Datacenter ED. It ran fine for the first few weeks. I had XenForo and Multicraft running stable. One day I log in, and I see that XAMPP_control.exe crapped out and Windows asking me to "Close Program" I close it, go back into my XAMPP file and run the _control.exe as an Admin, it starts up. As it's enabling Apache it gives me a Netstat Error along the lines of TCP error. Then an Error Code 6, and then Apache tells me it can't stop, and then crashed and gave me the "Close Program" window. Nothing worked in starting it up, I couldn't find any logs of it. Didn't know exactly where to look. Then I started getting several emails that I was under a DDoS attack. I contacted my datacenter and went through Event Viewer. Couldn't find anything.

I reinstalled my OS out of frustration thinking I must have changed something XAMPP didn't like. I put XAMPP back on, instead of restoring my backups, I went and reinstalled everything manually going to every website and redownloading everything. Got almost everything back up before XAMPP crashed out again. This install being not even 2 hours old.

I found a bunch of failed login attempts by someone in Hong Kong. So I went through my datacenters firewall and blocked that IP from making requests to the Server. I was also told by them since I don't use SSH, and just Remote Desktop, to just block port 22 through the firewall as well. Before I did all that, I had moved XAMPP to NameCheap hosting and I'm not all that happy with it, mainly because I have zero idea how to make Multicraft work in two different locations. Kind of gave up and reinstalled XAMPP so I could just put everything back on my server, but leave my forums to be hosted with NameCheap. I changed XAMPP to use ports 81,443 (Apache) and set up MySQL and turned on Apache for a few minutes to use phpmyadmin then turned it back off so it wouldn't crash again.

I got it all set up, but since I have no idea how to set up Multicraft DB in two different areas (It's weird) I turned Apache back on so I could just set it up from there and work on it from there. I'd like to know if I could just move everything back and continue so my OCD can be happy. As I'm typing this according to XAMPP, Apache switched from 81, 443. To 55496, 57121, and it keeps changing to displaying both of those ports, to just the 55496. I haven't done anything in the file systems other than in the httpd.conf to listen to port 81.

I don't have the logs from before so I probably won't get much help for those. Could all this have happened because of the person in Hong Kong attacking my Server with brute force attacks on thousands of ports, as well as a DDoS attack?
DogsPaw
 
Posts: 2
Joined: 22. April 2015 00:48
Operating System: Windows Server 2012 Datacenter

Re: Issue with Apache/XAMPP

Postby Nobbie » 22. April 2015 11:03

DogsPaw wrote: Could all this have happened because of the person in Hong Kong attacking my Server with brute force attacks on thousands of ports, as well as a DDoS attack?


Definately NOT. A DDoS attack requires thousands of clients which attacks the same server. If there is only one attacker, this is at least as busy as the server and wont work very well.

The Apache Server listens on Port 80 or 81 (as configured), but it also opens a new port to the client after receiving the HTTP Request, so this behaviour is quite normal. But keep in mind, that Xampp is NOT mentioned for online servers, it is designed for development only. All password and all configuration data is unique all over the world and if you (for example) enable WebDAV, your Server can very easily be hacked and overtaken.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: Issue with Apache/XAMPP

Postby gsmith » 22. April 2015 18:56

Nobbie wrote:All password and all configuration data is unique all over the world


I think he means NOT unique and is KNOWN all over the world. That got lost in translation from German to English. The passwords are known by everyone unless you change them, changing them can cause it's own problems or so I have seen reading this forum for some time.
gsmith
 
Posts: 194
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win XP to 2012R2/VS 6,9,11,14

Re: Issue with Apache/XAMPP

Postby DogsPaw » 23. April 2015 02:30

I ended up going with Unbuntu 14.10 w/ nginx. Since that seemed the smarter route. :P Thanks for the help guys.
DogsPaw
 
Posts: 2
Joined: 22. April 2015 00:48
Operating System: Windows Server 2012 Datacenter

Re: Issue with Apache/XAMPP

Postby Nobbie » 23. April 2015 13:20

Ubuntu is a good choice, if definately prefer Linux (instead of Windows). Not only for servers, i also like (and use) the desktops.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 62 guests