Already i installed Wampserver, that time it works correctly. A few days back i try to open localhost, it displays "Oops! Google Chrome could not connect to localhost
Did you mean: localhost.net". I don't know the problem.
You have to start Apache server.For that,you have to right click Wamp icon.Then click start Apache.After this is done,enter localhost in the url.It displays a message 'It Works!.
Hope this resolves your problem.
You have to manually start the server first.
That is you have to start Apache sever, then enter localhost in the url
To start double click on the Xampp icon. Then manually click on the start button for apache, mysql and other features which you need like tomcat and filezilla. Dont close it but just minimize it.
Do you have skype running? If so close it so its not running at all and restart wamp.
Skype uses port 8080 which Wamp uses too. switching the ports would fix this.
Heres a previous Q/A
Can't access localhost or phpMyAdmin with WAMP
For a WAMP server, just run the application and you will see an icon in the taskbar from which you can manage certain properties. That said, so long as the server is running, localhost should be working.
You must did not run the apache server first.
You should click the icon of the wamp , then click start apache.
Hope that helps.
Related
I am trying to install WAMP SERVER on Windows 7 PC. After completing installation I typed localhost/phpmyadmin/ as suggested. But the error is "Site can't be reached". Also when I searched on it google says that green icon should appear on icon, but it is not so... What do I do? Should I try 2.5 version instead of latest 3.0.4 or any other suggestions?
check what port number you apache http.conf is trying to acquire.
Also do check if any other application is using that port.
Skype (usually does).
Also try Changing the listen port number to 8080
in httpd.conf
Listen 0.0.0.0:8080
and try
http://localhost:8080
similar link:
WAMP - Your port 80 is actually used - Error
I'm trying to debug my application but any URLs which contain localhost (I've tried IIS Express, Local IIS, a simple Node server, and a Python development server) are redirected to the IIS welcome screen.
Examples:
localhost:xxxx/MyController
localhost:xxxx/SomeFolder/SomeFile.html
localhost/MyApp/MyController
localhost/MyApp/SomeFolder/SomeFile.html
The URL changes from the full url to my external IP address (i.e., URL changes from localhost:xxxx/MyController to simply XX.XX.XX.XX)
I just tried launching with a brand new ASP.NET "Empty Web Site," just loading the index.html file, and same situation.
There are no entries in my hosts file and it appears that this is only happening in Chrome. Any ideas?
This works in php, so it may help you with ASP:
Run Notepad as administrator
Open C:\Windows\System32\drivers\etc\hosts file
add the following line to hosts file
127.0.0.1:123 yourserver.com
Save
Run command prompt using CMD in run or type it in start menu
Type this command and hit enter
ipconfig /flushdns
Close
go to yourserver.com
I hope this help you. Again, this works fine with PHP.
It sounds like your DNS is resolving the localhost hostname. If you're using your ISP's DNS, this may happen. You could change the DNS to Google's Public DNS. By pointing the DNS server to IP's 8.8.8.8 and 8.8.4.4. See the link for details on how to configure your computer.
Has anyone successfully installed and configured 'prax' https://github.com/ysbaddaden/prax ? I have tried configuring it on multiple pc but no success.
There is pow but it works only on OSX. If any other alternative please share.
First, install Prax and configure your apps as stated on its GitHub.
To know if actually is working, ping to a desire app.
ping myapp.dev
It should ping to your loopback (127.0.0.1). If this is not your case, check again.
Then follow this steps:
1) Restart your server
2) Restart your browser. If you are using Chrome, you might need to clear the cache (as stated on: https://github.com/ysbaddaden/prax/issues/51 and Pow domains not loading in Chrome)
3) Launch the app:
http://myapp.dev/
It is important that the first time you use the http:// prefix.
If you are using Rails (which server Webrick defaults to port 3000, you should add this port to the URL, (I couldn't figure it out how to avoid this):
http://myapp.dev:3000/
check on firefox.I had same problem in chrome, then I switched to firefox and It was working.
I am having a problem with wamp server (again). First the icon would not turned green so I change the port to 8080 and now it turns green. However, when I visit localhost, I just get the message in the screenshot below.
Does anyone know what's going on here? Same when I try to go to PhpMyAdmin. I have version 2.1
try http://localhost:8080
(or http://127.0.0.1:8080 if there is a problem with the resolution of localhost)
you changed the port and I am not sure if you reflect this in your request.
Do you have Skype on in the background? If so turn it of restart your web server on port 80.
Edit: Like said in another response check for anything on port 80 and turn it off.
Check your system for any program that uses the port 80, and turn it off.
This will surely work:
Check in which Drive your Windows OS is installed. If it is E, F or other then C, then install wampp in that particular drive.
If Microsoft Visual C++ 2010 SP1 Redistributable Package is not intalled then install from : Download link
It should work.
I too faced the same issue during the installation.
This error is due to
1) if some other service is running on the same port
2) if some other application may block your application.
For checking
1.) Select the server icon. Select "www directory" and make sure it is pointing to where it should and that there are files there. --- It points to my Documents/wamp/www --- where there are an index and your test files.
2.) Select the server icon. Select Apache. Select service. Select "test port 80". See what port 80 is actually used by. --- I get "your port 80 is actually used by:......
Here you can find your port is used by which service.
If you have iis running remove that temporarily now by control panel-> uninstall program -. turn window feature on/off -> iis.
After this restart your system and run wampserver now. It will work Hope this may help
Check in your hosts file to see if there is a entry like this:
127.0.0.1 localhost
if there is a # before it like this
# 127.0.0.1 localhost
delete the hash as that is a comment
you will find your host file at:
C:\Windows\System32\drivers\etc
I'm using wamp. I was out of business for two weeks than I'm back and trying to start my wamp 2. BANG. Nothing happens. The red W icon appears among the hidden icons. When I click it, shows all services offline.
WAMP Version: 2.1
APACHE: 2.2.17 (shipped with WAMP)
PHP: 5.3.4 (shipped with WAMP)
MYSQL: 5.1. 53 (shipped with WAMP)
WAMP install directory: I put it to a custom directory (not the default route).
MYSQL event: I'm using Ruby on Rails and I had some annoying problem about a missing dll thing. I replaced it, but after that I used without problems and limitations the WAMP.
Ideas:
Restart the computer: same issue.
Skype on: never use Skype. However it's installed.
Port 80 taken: no, I tested in the apache>service.
Log files: all 3 empty. There are several weeks old lines only.
Every time I start it, shows Offline, the icon is red and cant start any service. Tried to restart the program also. Nothing happens.
Because noone helped this time, I was forced to read for several hours (cc 10) around forums etc.
But I found my answer.
The problem wasn't the port 80 thing. Neither the IIS thing thats mentioned usually. Nor helped several reinstalls with different tricks (delete the records in regedit linked to wamp is mentioned usually).
The solution was a kind of localhost issue.
Steps:
try - http://127.0.01 - if it shows up the WAMP start page than you are on the right path
open the hosts file with notepad - c:/windows/system32/drivers/etc/hosts
Make sure there is only one line about the localhost like this:
127.0.0.1 localhost
This isn't good:
127.0.0.1 localhost
1 localhost
Or I had something like this (cant remember exactly):
127.0.0.1 localhost ::localhost localhost127.0.0.1
Save and close the hosts file and BANG. It works than.
Kael