I wish I didn't have a server running WAMP but I do. On Linux I'd just do sudo service restart httpd
or apache2
or whatever. But with WAMP? I have no clue.
There's an icon in the notification area of the taskbar that, when clicked on, shows a menu:
If I click "Stop All Services" or "Put Offline" and then visit http://127.0.0.1/ in Firefox I still see the website being served up.
https://stackoverflow.com/a/5065551/569976 says to do cd C:/wamp/bin/apache/apache2.2.8/bin; httpd --start
. Doing so gives me this error:
[Tue Sep 29 17:06:11 2015] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
I also tried httpd --restart
and got the same error.
When I do Start -> Run -> services.msc I don't see an Apache service. I see a wampapache service, however it's status is not "Started".
When I do netstat -a -b
I see this:
Proto Local Address Foreign Address State PID
TCP MYSERVER:http MYSERVER.MYCOMPANY.local:0 LISTENING 4168
[httpd.exe]
That's cool. I have no idea where that httpd.exe file lives however. I would have thought it was living at C:/wamp/bin/apache/apache2.2.8/bin
but I have no idea.
Any ideas?