not able to access local host
Posted by: rawaldream (125.18.104.---)
Date: September 27, 2009 05:13PM

Hi All I am newbie in Web delvelpment,
I just installed a Wamp server on the computer.
first time I enter local host on address bar it show the Wamp server home page but when I restarted the computer and try to get the same page by entering local host it shows noting in firefox just try again
could you tell me what be the reason
and could any body tell me what are configuration files for
Apace
PHP
and my sql

Thanks in advance

Options: ReplyQuote
Re: not able to access local host
Posted by: yfastud (Moderator)
Date: September 27, 2009 05:31PM


Options: ReplyQuote
Re: not able to access local host
Posted by: bobbyef (---.sd.sd.cox.net)
Date: September 30, 2009 04:21AM

I am getting the same error. Not the firewall. Not antivirus. I just can't get localhost to work. Internet working fine. Suggestions?

Thanks



Unable to connect

Firefox can't establish a connection to the server at localhost.


* The site could be temporarily unavailable or too busy. Try again in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

Options: ReplyQuote
Re: not able to access local host
Posted by: toumimi (---.112.116-78.rev.gaoland.net)
Date: September 30, 2009 05:56AM

You should check that Wamp is started and its tray icon is white.
Then, click on localhost in wamp menu or type url 'http://localhost/index.php'

If it doesn't work, use url 'http://127.0.0.1/index.php' instead.

If wamp icon is not white, check apache error log and apache access log from Apache submenu.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: not able to access local host
Posted by: rawaldream (---.161.114.194.cdma-delhi.vsnl.net.in)
Date: October 01, 2009 09:20AM

I got the apache conf gui downloaded and now I am able to get the local host
but I am confused about

the configuration files.

I installed Wamp

It made theree directory in bin folder php mysql and apache.
could any one tell me.

does it install mysqlserver as well on the system
or is it just interface to exisitng mysql server

as I have already installed mysql server 5.1


when I am clicking the phpmyadmin link on wampserver home page I am getting the error msg of
access denied..


forward me the link
or suggest the goood tutorial about configuration files

Options: ReplyQuote
Re: not able to access local host
Posted by: Dasher (---.prod-infinitum.com.mx)
Date: October 01, 2009 09:35AM

I'm not sure if I get this right...

you have installed WPS2 the first time it did worked fine then you reboot your PC and it got broke correct?, then you download Apache GUID apart from the WPS2? did I get this right?

The you said that you have SQL 5.1 Server installed on that same PC if this is correct the what you have a short-cut-cross-port loading .... sort of....

make sure that your SQL Server is not running on the same port
make sure that your Apache has a different port as well....

WPS2 doesn't require to install anything else but it self ... it came with everything on it, SQL, PHP, Apache... i mean...
I don't see the point to have WPS and SQL Server as well...

don't hate me is just my opinion....

Options: ReplyQuote
Re: not able to access local host
Posted by: rawaldream (---.161.114.194.cdma-delhi.vsnl.net.in)
Date: October 01, 2009 09:43AM

Hi Dasher

Thanks
do you have any chat window So we can directly talk.
I installed the mySql server but. why it is giving the message access denied

Options: ReplyQuote
Re: not able to access local host
Posted by: rawaldream (---.161.114.194.cdma-delhi.vsnl.net.in)
Date: October 01, 2009 09:57AM

when I strat wamp tray manager it shows message work status offline

Options: ReplyQuote
Re: not able to access local host
Posted by: toumimi (---.190.140-88.rev.gaoland.net)
Date: October 01, 2009 03:03PM

Server is offline because only you have access to it. (127.0.0.1 or localhost)

There could be a problem if you get another mysql server running on it.
So if you don't need it, you can uninstall mysql server 5.1 and just use the one given in wamp package.

Make sure to delete all my.ini files which are not in wamp folder...

But, it is not linked to the Apache problem (could not access localhost)

If you already have an Apache server, you should uninstall it too, since it's included in Wamp (Windows Apache Mysql PHP)
Then, you have to configure Apache conf GUI well by entering service "wampapache" when prompting. But this can be a problem because you can easily switch between PHP or Apache versions, but not in the GUI because apache conf file (httpd.conf) is saved as a static path to only one version of Apache.

I agree that you can create several profiles, but this can be very confusing getting both synchronized...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: not able to access local host
Posted by: rawaldream (---.161.116.247.cdma-delhi.vsnl.net.in)
Date: October 03, 2009 09:04AM

Hi Florian

I got all fixes you are right, I installed php , apache and mysql seperatly , then I tried to connect each other
as I did not have knowledge of confirguration files I was unable to do that .

then I came to know about wamp server .
then I know apace conf gui. after doing work on configurationn files i am able to get local host , and run php script in webpasge.

now I want connect wamp configuration to connect external database like my sql, oracle etc.
by coding I am able to connect external database (my Sql) but could you tell me the wamp configuration for external database.

do you have list of directives (necessary) to must know.
plz send me on email rawalssm at gmail

Thanks

Rawal

Options: ReplyQuote
Re: not able to access local host
Posted by: ictibso (---.access.telenet.be)
Date: October 03, 2009 05:22PM

bobbyef Wrote:
-------------------------------------------------------
> I am getting the same error. Not the firewall. Not
> antivirus. I just can't get localhost to work.
> Internet working fine. Suggestions?
>
> Thanks
>
>
>
> Unable to connect
>
> Firefox can't establish a connection to the server
> at localhost.
>
>
> * The site could be temporarily unavailable
> or too busy. Try again in a few
> moments.
>
> * If you are unable to load any pages, check
> your computer's network
> connection.
>
> * If your computer or network is protected
> by a firewall or proxy, make sure
> that Firefox is permitted to access the
> Web.


please help, got the same problem!

Options: ReplyQuote
Re: not able to access local host
Posted by: toumimi (---.68.113-78.rev.gaoland.net)
Date: October 03, 2009 06:58PM

Quote

by coding I am able to connect external database (my Sql) but could you tell me the wamp configuration for external database.

If an external database allows connection from remote hosts, then you would be able to query it from your computer.
You only need functions to query it (ex: extension mysql for mysql functions).

Informations needed : ip of remote database server, user and password.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: not able to access local host
Posted by: emilevd (---.kpn.net)
Date: October 05, 2009 08:19AM

Hi, I am since a long time user of WAMP, LAMP and MAMP, howeever not an expert.
Great services and happy user till I met Vista.

I did install Wamp server 2.0 (Romain Bourden) on Vista. Every seems fine all services are running and on-line.
However I can not connect to [localhost] (I did change the port from 80 to 8888 (in httpd.conf on 2 places).
When accessing localhost the message is: "during loading the page the connection has been reinitialized" and I can not get any connection. It seems to be an Apache problem.
I did switch off firewall (windows) and have no other firewalls running just Eset nod32 anti virus.

I would appreciate any help.
Thanks,
Emile

Options: ReplyQuote
Re: not able to access local host
Posted by: toumimi (---.238.115-78.rev.gaoland.net)
Date: October 05, 2009 09:03AM

Sorry but nod32 has probably blocked port 8888 as 80.
Since on each update, it block opened port again, I suggest you to use another antivirus.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: not able to access local host
Posted by: emilevd (---.kpn.net)
Date: October 07, 2009 09:50AM

Thanks Florian, for your suggestion.
I did stop Nod32 (what is just a virusscanner) and this did not make any sense.
I did stop Windows firewall as well. No change.

TCPView does not show port 8888 is occupied. I changed to port 7777 same result. Changed back to port 80. same result.Yes of course I do restart services after each change.

The apache port sense for port 80 (last config) shows it might be occupied by skype. I have no skype running.

Vista is protecting me to use my internal port 80. How

Apache log shows:
[Wed Oct 07 09:20:34 2009] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Wed Oct 07 09:20:34 2009] [notice] Server built: Dec 10 2008 00:10:06
[Wed Oct 07 09:20:34 2009] [notice] Parent: Created child process 4256
[Wed Oct 07 09:20:34 2009] [notice] Child 4256: Child process is running
[Wed Oct 07 09:20:34 2009] [notice] Child 4256: Acquired the start mutex.
[Wed Oct 07 09:20:34 2009] [notice] Child 4256: Starting 64 worker threads.
[Wed Oct 07 09:20:34 2009] [notice] Child 4256: Starting thread to listen on port 80.

Do you have any more suggestions?
Emile

Options: ReplyQuote


Sorry, only registered users may post in this forum.