View Full Version : WAMP Server - Help
Hey guys need some help.... I try to use my WAMP Server and it will not work :-( I have open port 80 etc but still no luck! Will anyone help me out?
I can try but I'm in a different timezone this week ;)
Any more details? Is the http service running? netstat -an showing port 80 listening ? can you telnet to the localhost on port 80?
Any errors in the apache error log ?
I run a WAMP server at home so I should be able to help :)
mrnothersan
31-03-11, 20:27
Hey,
I use WAMPServer too, replied to your PM btw..
Hope to hear from you soon :)
Thank you
When I use netstat it does not list port 80.... It cannot find the Apache error log, services get an error when I try to run them or turn the wamp server on. When I click local host it takes me to IIS7 and whn I click php it says:
Server Error in Application "DEFAULT WEB SITE"
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Use either IIS or Apache, or stick apache on a different port,
they cant both use port 80 which is why apache wont start.
ermm I shall try, I have not done a lot with ports so this shall be a challenge lol
yeah as smifis said - default apache config will try and start on port 80. As IIS is already running on 80 apache can't bind to the port.
apache error log should be in your install directory/logs
open up httpd.conf in notepad/wordpad/etc and just do a search for "80" and change it to 81 :D
should be either
Listen *.80
or
Listen 192.168.1.1:80 (your ip here nach)
and it's the 80 that needs changing.
Alternatively, just uninstall IIS ;) :D
Do you use Skype? It uses port 80 by default which means Apache won't work. You can change Skype's port in the settings.
Yes I use Skype... Within Skype how would I change this? But it couldnt be that as WAMP server did not work last time before I had skype...
Tools -> Options -> Advanced -> Connection -> Use port... Stick in whatever you want so long as it's not already in use. I use 29910 for no reason. :D
Not sure why it wouldn't work before but it definitely won't work with Skype on port 80. :P
httpd.conf = I do a search on this and it cannot be found
I have changed the port for skype, it used port 26549 and then 80 and 443 as alternate ports for incoming connections so I have just unticked that box so they are no longer used.
httpd.conf = I do a search on this and it cannot be found
I use XAMPP and httpd.conf is located in /apache/conf but I have no idea what the directory structure of your server is.
I use XAMPP and httpd.conf is located in /apache/conf but I have no idea what the directory structure of your server is.
I left it at default when installing etc.
you are using apache right ? ;)
mine is under c:\apache2\conf\httpd.conf
you are using apache right ? ;)
mine is under c:\apache2\conf\httpd.conf
Yes I am lol, am new to the hosting side of websites etc, I can only design them :)
found it
mines at:
Listen 12.34.56.78:80
Listen 80
Port should I change it to?
you'll need to find the location of your conf and log files - these are invaluable when setting things up or changing anything :)
/edit: anything you like, but you'll need to specify the port in the url in your browser so keep it memorable. Popular choices are 81, 8080, and 8000 :) Then just use http://localhost:8000 for example
Its worked :D how can I get people to view it by using an IP Address!
http://www.whatismyip.com/
this will tell you your ip address. tell people to go to http://ip.add.res.s:8000 :)
also, make sure you open up / forward port 8000 through your firewall / router :)
If you're not on a static IP from your ISP then you may need to look at dyndns or noip settings if this is going to be a permanent thing.
I used port 81 so it will be http://my ip address:81?
I used port 81 so it will be http://my ip address:81?
Bang on :thumb:
unless you're doing some clever port translation on your router :ninja: :D
right I try to connect and it says:
Safari cannot open the page because it could not connect to server... also does not work on IE
I am determined to get this done asap! :D
If you're connecting from the same machine you're running the server on, you need to use
http://localhost:81
If you're connecting from a 2nd machine on your local network, you'll need to use the internal IP address eg:
http://192.168.1.1:81
this should also work from the server itself
If you're connecting from the outside world, use the public ip :)
okay :) I shall get someone to test it for me. local host works fine, I am testing my local network IP on my Iphone but is being very slow so not connected yet lol
If it does not work does that mean then port 80 may not be open?
- Right its not worked :-\ any chance you can help on teamviewer?
He's in America I think mate :D Sure he'd be happy to when he's back though, he's a legend :D
Okay :D think I sorted it now, just created a new inbound rule for port 81.
- grrr not working wen people try and connect from the public IP Address. I shall sort it :)
- Update: I got it working on the localhost, my network and not public. I can access the website by using the network IP Address 192.etc:81 but not for my public IP address 82etc:81
On your router/modem, you should be able to forward ports to allow people to connect.
I am on a belkin router, is it within the virtual servers? If so I have already done this...
virtual servers, yes, the name varies alot,
Try using this to check that the port is open, http://www.canyouseeme.org/
Ermmm this is wat it shown like:
Enable / Description / Inbound Port / Type / Private IP Address / Private Port
1) tick / Web Server / 80-80 / TCP / 192.168.2.3 / 80-80
2) tick / Web Server / 81-81 / TCP / 192.168.2.4 / 81-81
And that check says this to both ports:
Error: I could not see your service on 82.8.245.110 on port (81)
Reason: No route to host
Error: I could not see your service on 82.8.245.110 on port (80)
Reason: No route to host
In which case, I'm going to bet my money on a firewall issue, I had this myself.
Are you using the built in windows firewall?
Yes I am using the built in firewall, I have opened up the ports on the firewall including creating new inbound and outbound rules for 81 opening them up to private, public and domain connections....
No matter what setting I chose, Windows firewall wouldn't allow my webserver to work outside of teh intranet,
try disableing it for a moment, if it works, you need to look for an alternative firewall solution.
Ermmm this is wat it shown like:
Enable / Description / Inbound Port / Type / Private IP Address / Private Port
1) tick / Web Server / 80-80 / TCP / 192.168.2.3 / 80-80
2) tick / Web Server / 81-81 / TCP / 192.168.2.4 / 81-81
And that check says this to both ports:
Error: I could not see your service on 82.8.245.110 on port (81)
Reason: No route to host
Error: I could not see your service on 82.8.245.110 on port (80)
Reason: No route to host
just noticed, you have two different ip addresses in there, does you server have a static ip?
right, its not the firewall... its still not working :-\ No it doesnt have a static IP address....
Is this correct also?
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 82.8.245.110:81
Listen 81
Not sure why it wouldn't work before but it definitely won't work with Skype on port 80. :P
Have never had an issue with either Apache or IIS with Skype running...
Not sure if same, but I encountered similar issue on Windows 7 when i was trying to get xampp going, this (http://www.cameroncooke.com/2009/01/25/windows-7-uses-port-80-and-makes-it-impossible-to-install-apache-solution/) fixed mine :rolleyes:
right, its not the firewall... its still not working :-\ No it doesnt have a static IP address....
Is this correct also?
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 82.8.245.110:81
Listen 81
yes, but you need to assign your local pc a static ip address to ensure it doesn't change
Have never had an issue with either Apache or IIS with Skype running...
I have
Not sure if same, but I encountered similar issue on Windows 7 when i was trying to get xampp going, this (http://www.cameroncooke.com/2009/01/25/windows-7-uses-port-80-and-makes-it-impossible-to-install-apache-solution/) fixed mine :rolleyes:
Thats new to me! :lol: Since his apache runs locally, this isn't the issue
I have found the problem btw guys :) Its the way my router has been setup and will not work because of this, so will have to sort it out.
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.