Page 1 of 1

Apache port change yet still Localhost:80

PostPosted: 13. December 2009 22:06
by projectxcappe
Hi, I needed to change my apache port to 85 so I changed all the listening 80's in the httpd.conf and httpd.default.conf files.

ServerName localhost:85
Listen 85
AuthRemotePort 85
AuthRemoteServer 127.0.0.1

XAMPP runs on http://localhost NOT localhost:85. I ran a port check and the ports are running still on 80 even after starting and restarting XAMPP. I need to install my "store" zen-cart and it cannot see it. I have it located in xampp/store so ill go to localbost/store OR "localhost:85/store and Firefox can't establish a connection to the server at localhost:85." I ran a port check and it's still saying 80. :shock:

Thanks in advance!

Re: Apache port change yet still Localhost:80

PostPosted: 14. December 2009 01:08
by Izzy
Missing support info - what XAMPP version and which Windows OS?
So assuming latest stable XAMPP version and Windows XP.
projectxcappe wrote:httpd.default.conf
There is no AuthRemotePort or AuthRemoteServer in this file?

projectxcappe wrote:I have it located in xampp/store so ill go to localbost/store OR "localhost:85/store
You mean you located your files in \xampp\htdocs\store for those addresses to work?

Or you created an Alias or changed the DocumentRoot or even created a VirtualHost to be able to access \xampp\store folder by the address http://localhost/store or http://localhost:85/store ?

You saved the .conf files after editing and then you restarted Apache?

Before changing the ports stop Apache and MySQL then remove any ticks you find in the Svc boxes in The XAMPP Control Panel and then restart Apache and MySQL.

Then proceed to change your ports in the conf file and then save the file and restart Apache.

To check the ports in use other than by the Port Check tool provided by XAMPP use this:
1. Open a DOS command window and type netstat -a -n -o at the command prompt.
2. Then check the PID (process ID number) by right clicking on the Task Bar and selecting the Task Manager>Processes tab.

The process ID number will be either for apache.exe or httpd.exe for Apache on port 85.


More helpful reading for new XAMPP users:
\xampp\readme_en.txt file
or
http://www.apachefriends.org/winxampp/readme_en.txt

http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html