Apache flashing incrementing ports

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

Apache flashing incrementing ports

Postby joel_iz » 01. October 2014 15:30

Hi, I have a VPS running windows server 2008 with apache installed on it. The system works to a point, up until the 'ports' under Apache on the xampp control panel start flashing ever incrementing ports. The server itself is not used for anything else apart from the simple external use of the apache port 8080.

For example currently, I have it configured to listen on 8080 and 8181, but then it is also flicking between those values and 63414.. 63416... 63418 etc.

Any ideas what could be causing this?
joel_iz
 
Posts: 2
Joined: 01. October 2014 15:25
Operating System: Windows Server 2008

Re: Apache flashing incrementing ports

Postby JJ_Tagy » 01. October 2014 17:21

Are you, or someone else accessing the server at the same time? That's usually when I see it. Check your access logs to match the time stamp.
JJ_Tagy
 
Posts: 678
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

Re: Apache flashing incrementing ports

Postby joel_iz » 02. October 2014 00:43

Thanks for the reply, I'll do that. I had to delete one log file as on opening it crashed the server, and then I noticed it was 455Mb.

No one else should be accessing the server as such, the content hosted on the server yes, but no one else logged in. I presume that is what you mean?
joel_iz
 
Posts: 2
Joined: 01. October 2014 15:25
Operating System: Windows Server 2008

Re: Apache flashing incrementing ports

Postby gsmith » 02. October 2014 04:55

Apache "listens" on the ports you have specified for incoming requests. But when it's speaking back it cannot also listen for any other incoming requests unless it speaks back on a different port. So that is normal. Call the printenv.pl file in cgi-bin from your browser and you will see it

SERVER_PORT="80" or in your case 8080 or 8081 depending on which you use in your browser
REMOTE_PORT="64717" <- the port mine spoke back on
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


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests