Posted on 09/19/2016 7:33:01 AM PDT by lafroste
I am trying to load an AAMPS stack on my Windows 7 machine. However, no matter what port I set the config file of the Apache server, it comes back with an error message saying that port is already being used by another app (without specifying said app). I'm getting to the point of believing that some rogue program has glommed on to EVERY port.
I cannot find any listing of Port assignments or any way to affect those assignments. Typically, Apache listens to port 80.
Can anyone advise on how to solve this problem? Thanks!
Not much help but a side question: have you considered Linux for Apache?
go to the command line and run netstat -an and it will list out all ports in use. Going to be a lot so you may want to pipe that to the screen by typing netstat -an | more or pipe to a file by typing netstat -an > ports.txt
Have you have looked at the firewall settings?
netstat -ao will also give you the PID (process ID) that you can find in Task Manager so you can track down the service or program that is utilizing this. Still pipe to | more or > ports.txt
“I’m getting to the point of believing that some rogue program has glommed on to EVERY port.”
Didn’t you know when you sign up for FR all your ports belong to us?
I get the port assignments, but it just flashes on the screen and goes away immediately. The ports.txt option creates the text document then immediately closes it without saving. How can I fix that so I can actually read it?
Very good suggestion.
Try porting it to c:\ports.txt
Open httpd.conf file in your text editor. Find this line:
Listen 80
and change it to whatever you want. 8080 is common.
http://localhost:8080 to access it then.
oh, and then restart apache.
I always find it comforting when there’s someone nearby who speaks techish.
I quickie search says the port is changed in the httpd.conf file
Not sure about AAMPS. I use Bitnami which is super easy one click install and uninstall and has an easy gui place to choose port. I’m on linux but it installs to port 8080 by default.
Shouldn’t it be WAMP or XAAMP for windows? XAAMP is actually bitnami these days.
https://bitnami.com/stack/wamp/installer
Can also get it prebundled with an app like wordpress.
netstat -ao | more
Should put it on the screen and not scroll down until you hit a key. That is the vertical bar above the enter key on most keyboards between the space after -ao and the space before the word more
netstat -ao > ports.txt is going to put the file in the directory you are in when you are at the command line so open Windows Explorer and go to that directory and double click the file and Notepad should open it. In my case it is Windows\System32 but it could by your Users\yourname folder or anything depending on how your system is set up.
Yes, I did not recommend this because most people do not want to use port numbers in the browser but if he cannot find the program or change it this is the way to do. I would use a different port number if I wanted to run a web server on my Windows 7 machine since there are so many things that would try to take over port 80 by default.
Sorry to nickel and dime ... are you running Norton, etc. Virus protection software will lock down ports for security.
Bump
To Read Later
I would think the NFL would invite all NFL players to stage a half time kneel in,even bring an American Flag to step on as half time entertainment
I would think the NFL would invite all NFL players to stage a half time kneel in,even bring an American Flag to step on as half time entertainment
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.