Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Local Server works once, and then won't again |
|
Author |
|
Jean B
Joined: 02 Oct 2013 Posts: 2 Location: USA, Independence
|
Posted: Thu 03 Oct '13 21:18 Post subject: Local Server works once, and then won't again |
|
|
I found a socket available other than 80 which would not allow me to use. I set it in the conf file as 1800 and then go to apache/bin directory and load httpd.exe. When I go to the browser, I have to type in http://localhost:1800 for it to work once. If I close the browser and try again, or I try a php file, it says it can't find localhost. I have to stop httpd.exe and reload, then it will work once.
Do I have to find a way to use socket 80 for it to work? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 05 Oct '13 5:55 Post subject: Re: Local Server works once, and then won't again |
|
|
Jean B wrote: | Do I have to find a way to use socket 80 for it to work? |
No, but try using http://127.0.0.1:1800 instead of localhost and see what happens.
What version of Apache? |
|
Back to top |
|
Jean B
Joined: 02 Oct 2013 Posts: 2 Location: USA, Independence
|
Posted: Sun 06 Oct '13 2:55 Post subject: LocalHost |
|
|
I finally got the localhost to answer each time. I put the path for Apache 2.4 in the environment settings. I guess that is why it would find the conf file.
Thank you glsmith for answering my post. |
|
Back to top |
|
|
|
|
|
|