Apache port change yet still Localhost:80

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

Apache port change yet still Localhost:80

Postby projectxcappe » 13. December 2009 22:06

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

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!
Posts: 1
Joined: 13. December 2009 21:58

Re: Apache port change yet still Localhost:80

Postby Izzy » 14. December 2009 01:08

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

Posts: 3344
Joined: 25. April 2006 17:06

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests