Wamp server is green, but localhost shows webpage not available?? - wampserver

Wamp server is green, but localhost shows webpage not available
Changed port to 81 but still not loading.
Hosts file looks ok too.
Any ideas what might be the issue

i thing it start on another port although check [apache access log] for more detail on which port it actually starting.or add your log

Related

Apacche2 display page on another port

I was wondering if a apache2 server, at localhost port 80, can display a page at localhost60080. for some unknown reason, only the hosting computer is able to display the webpage(the kolmafia webview), and I figured that dealing with a apache2 server is easier than the application hosted. basically, can I get help
allowing other computers to view raspberrypi.local:60080
or
have a apache server at port 80 act like the page at 60080
I am sure that
1)same network
2)server works on localhost
3)raspberrypi.local:60080 don't work
4)raspberrypi.local:80 dose work, and displays default apache2 page

Any hits to localhost redirect me to IIS welcome page

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.

Wamp server not working after opening port 81

i am hoping you can help.
I have just started hiring a web server from hetzner.
I loaded wamp onto the server, but as it is a windows 2012 server, it's port 80 is being used by the default loaded IIS.
So i opened up the port 81, for wamp, but it has been a struggle, when i type in my browser localhost:81 it shows me wamp server homepage, but whenever i try to enter into the phpmyadmin page, it's loaded, but i just see a white screen, i cannot enter the database management.
Does anybody know what might have caused this?
If you are using port 81 ( or any non standard port ) you have to add the port number to all your url's.
So try using
http://localhost:81/phpmyadmin
and it will work.
If you are not using IIS I would suggest disabling it and all its friend that grab port 80 so you can move wamp's Apache back to port 80.

Localhost is not working in wampserver

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.

Wamp server can't connect to localhost

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

Resources