Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

Skip to comments.

Can I Manipulate Port Assignments on a Windows Machine? (Vanity)
me ^ | 9/19/2016 | lafroste

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!


TOPICS: Chit/Chat; Computers/Internet
KEYWORDS:
Navigation: use the links below to view more comments.
first 1-2021-38 next last
Any help is appreciated.
1 posted on 09/19/2016 7:33:01 AM PDT by lafroste
[ Post Reply | Private Reply | View Replies]

To: lafroste

Not much help but a side question: have you considered Linux for Apache?


2 posted on 09/19/2016 7:35:51 AM PDT by dhs12345
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

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


3 posted on 09/19/2016 7:36:19 AM PDT by mikesmad
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

Have you have looked at the firewall settings?


4 posted on 09/19/2016 7:37:33 AM PDT by dhs12345
[ Post Reply | Private Reply | To 1 | View Replies]

To: dhs12345

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


5 posted on 09/19/2016 7:41:04 AM PDT by mikesmad
[ Post Reply | Private Reply | To 2 | View Replies]

To: lafroste

“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?


6 posted on 09/19/2016 7:43:59 AM PDT by Boogieman
[ Post Reply | Private Reply | To 1 | View Replies]

To: mikesmad

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?


7 posted on 09/19/2016 7:44:47 AM PDT by lafroste
[ Post Reply | Private Reply | To 3 | View Replies]

To: mikesmad

Very good suggestion.


8 posted on 09/19/2016 7:45:00 AM PDT by dhs12345
[ Post Reply | Private Reply | To 5 | View Replies]

To: lafroste

See https://support.microsoft.com/en-us/kb/832017


9 posted on 09/19/2016 7:45:45 AM PDT by Atilla_the_Hun (Reagan "... one generation from a 1,000 yrs of darkest")
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

Try porting it to c:\ports.txt


10 posted on 09/19/2016 7:46:09 AM PDT by AppyPappy (If you really want to irritate someone, point out something obvious they are trying hard to ignore.)
[ Post Reply | Private Reply | To 7 | View Replies]

To: lafroste

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.


11 posted on 09/19/2016 7:46:45 AM PDT by LesbianThespianGymnasticMidget (God punishes Conservatives by making them argue with fools. Go Trump!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

oh, and then restart apache.


12 posted on 09/19/2016 7:47:18 AM PDT by LesbianThespianGymnasticMidget (God punishes Conservatives by making them argue with fools. Go Trump!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: mikesmad

I always find it comforting when there’s someone nearby who speaks techish.


13 posted on 09/19/2016 7:47:31 AM PDT by Migraine (Diversity is great -- until it happens to YOU.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: lafroste

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.

https://bitnami.com/stacks


14 posted on 09/19/2016 7:48:15 AM PDT by Pollard (TRUMP 2016)
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

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.


15 posted on 09/19/2016 7:48:48 AM PDT by mikesmad
[ Post Reply | Private Reply | To 7 | View Replies]

To: LesbianThespianGymnasticMidget

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.


16 posted on 09/19/2016 7:51:37 AM PDT by mikesmad
[ Post Reply | Private Reply | To 11 | View Replies]

To: lafroste

Sorry to nickel and dime ... are you running Norton, etc. Virus protection software will lock down ports for security.


17 posted on 09/19/2016 7:52:16 AM PDT by dhs12345
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

Bump
To Read Later


18 posted on 09/19/2016 7:57:24 AM PDT by Fiddlstix (Warning! This Is A Subliminal Tagline! Read it at your own risk!(Presented by TagLines R US))
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

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


19 posted on 09/19/2016 8:00:27 AM PDT by ballplayer (hvexx NKK c bmytit II iyijjhihhiyyiyiyi it iyiiy II i hi jiihi ty yhiiyihiijhijjyjiyjiiijyuiiijihyii)
[ Post Reply | Private Reply | To 1 | View Replies]

To: lafroste

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


20 posted on 09/19/2016 8:00:44 AM PDT by ballplayer (hvexx NKK c bmytit II iyijjhihhiyyiyiyi it iyiiy II i hi jiihi ty yhiiyihiijhijjyjiyjiiijyuiiijihyii)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-38 next last

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.

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson