I'm working with wamp server 5-6 years. I bought a new laptop with windows 8.1. I installed wamp server and 3-4 about I haven't problem. But today my wamp server not starting. When I was doing my research I could not find anything related to my problem.
I checked and the IIS ins't installed on Windows features
I uninstalled skype ( which using the port 80 )
I re-install 2 times the wamp server and the last install I reinstall also the MS Visual c++ redistributable
I deleted previous the install all files ( the directory c:/wamp )
I checked the "Web Deployment Agent Service i" aren't running
Please not that : I'm not changed anything on my pc... and yet I still have the problem.
Also in windows logs I saw the following errors for apache:
(OS 10013)An attempt was made to access a socket in a way forbidden by
its access permissions. AH00072: make_sock: could not bind to
address [::]:80 ( 2 times )
AH00451: no listening sockets available, shutting down
AH00015: Unable to open log
Any idea or help is very helpful... Thank you for all replies
OK I found the solution. I disabled both the IPv6 and again the SQL Server reporting service and I changed the port again to 80 from 8080 and now it's working. Thanks all you for your helps
Related
I've installed WAMP Server on Windows 10 and it was working fine. But when I try to load localhost today it gives me refused to connect error. I've read some questions on Stack Overflow and tried their answers but no luck.
Re-installed wamp (also tried xampp. non of these work)
IIS is off
Web Development.. thing in services is not running.
Tried netstat -aon and port 80 PID is same as wampapache64 process.
changed listening port to 81 in httpd.conf in wamp => apache =>
Cleared browser cache
Wamp icon is green
Can't connect using 127.0.0.1
Nothing works.
Screenshots:
I will assume the wamp icon in the system tray is green. I think you should start tracing the root cause from the apache error/access log.
Try change the http port to 8080 and access localhost:8080. left click the wamp icon in the taskbar, go to apache > httpd.conf and edit this file: change "listen to port .. 80" to 8080.
Try the hosts file with only the initial records and test.
127.0.0.1 localhost
::1 localhost
If you are facing the error from the apache errors log file
(OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
then do the following:
* Run 'command prompt' as administrator and run the command netsh winsock reset . and restart the PC.
Skype default port is 80 and this might be having a conflict .. try to change it from Skype options.
Finally make sure the antivirus or any firewall you are having is not blocking your application requests.
firstly, uninstall wampp as well as xampp server from your PC. Also delete the wampp/xampp folders in C drive.
then install wampserver 2.0i from the link below-
wampserver 2.0i
after installation, start wamppserver and try to open localhost in chrome browser.
if localhost doesnt work, then try localhost:80
hope it helps!!
I've installed wampserver. Yet it is always as a red tray icon.
Icon tooltip msg: local server - None of 2 services running.
Port 80 is not occupied; checked with Apache ► Service ► Test port 80:
Warning: chmod(): Permission denied in C:\wamp\scripts\config.inc.php on line 68
Impossible to modify the file C:\WINDOWS\system32\drivers\etc\hosts to be writab
le
The file C:\WINDOWS\system32\drivers\etc\hosts is not writable
***** Test which uses port 80 *****
===== Tested by command netstat filtered on port 80 =====
Test for TCP
Port 80 is not found associated with TCP protocol
Test for TCPv6
Port 80 is not found associated with TCP protocol
===== Tested by attempting to open a socket on port 80 =====
Your port 80 is not actually used.
Apache ► Service administration ► Install Service issues in a cmd window:
pressing Enter shuts the window down, nothing happens. Waiting gives no profit either.
What's wrong?
Update
Had attempts to change port number for Apache (both to 81 and to 8080) in httpd.conf:
Listen 0.0.0.0:8080
Listen [::0]:8080
ServerName localhost:8080
Checked whether IIS is runnig => No!
.
Doesn't help.
I had the same problem, and the solution was too simple:
"Run it as Administrator."
Without changing port or other additional configuration ...
You can do it by right clicking on the program icon and in the menu that appears, select the option "Run as administrator".
It is also possible to automate this process, by right clicking on the program icon and selecting "Properties".
Once the properties window is open, we go to the "Compatibility" tab. In the "Configuration" area we mark the option "Run this program as administrator".
Then we will click on "Apply" and then on "OK".
Ready! From now on, every time we run the program it will do so in administrator mode.
(Today, May 8, 2019, I see that #riggsfolly has responded in a comment much earlier than me. My recognition.)
I had same problem, tried change port and so on, but finally I installed older version (2.5 I think) and it works without any change of setting.
I think that IIS in install your windows
Change your port on httpd.conf
for example 81
Listen 0.0.0.0:80
Listen [::0]:80
ServerName localhost:80
to
Listen 0.0.0.0:81
Listen [::0]:81
ServerName localhost:81
and restart apache service
Open the httpd.exe in administration manually. The file is in wamp64\bin\apache\apache2.4.23\bin\. Then it works.
You can try this
Uninstall the wamp server
Click on the downloaded wamp file , and select Run as Administrator
Read and follow the Information Window that will pop up after one or two steps
Complete the installation
Still ? Check out http://forum.wampserver.com/read.php?2,134915
It can happen because of one of the three reasons:-
1) Missing VC++ installation: Install All versions of VC++ redistribution packages VC9, VC10, VC11, VC13, VC14 and VC15.. If you have a 64-bit Windows, you must install both 32 and 64bit versions of each VisualC++ package, even if you do not use Wampserver 64 bit.
2) You forgot to provide Admin Privileges to WAMP Server : Launch and Install with the "Run as administrator" option, very important.
3) WAMP, IIS and Skype fighting over same port :
Close Skype or force not to use port 80: http://forum.wampserver.com/read.php?2,134915
Disable IIS: http://forum.wampserver.com/read.php?2,134915
I have installed the XAMPPv3.2.1 for PHP development.Since I have installed Skype and its using the Port 80 and 443 ,I configured XAMPP to run on ports 1333(http.conf) and 3333(https.conf).
I started the xampp MySQL service and started successfully.
When I navigate to http://:1333 xampp is working fine ,However if I click on phpmyadmin i am getting the following error.
MySQL said: Documentation
2002 - An attempt was made to access a socket in a way forbidden by its access permissions.
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
can anybody help me in resolving this issue?
Thanks in advance.
Here is what worked for me with all the default settings of xampp:
Quit skype
Quit skype
Run xampp again. It should now start again
(optional) run skype again
Hope this helps.
I have been working with Memcache and PHP for a long time and was everything great but now I have been getting this error after every 10 to 15 minutes.
MemcachePool::get(): Server localhost (tcp 11211, udp 0) failed with: Network timeout
I thought it might be due to Firewall or something like that so I turned of my Firewall but yet didn't stop giving this message.
After every error I have to restart my memcache.
And it's Memcache not with D on windows 7 machine with PHP 5.4 MSVC9 TS version. I can not understand what to do now with this Network Timeout issue. What can be done to solve this.
Currently, currently I have only one local machine with windows 7 so cannot make a cluster of Memcache or install Memcache(D).
Unsure if it is a memcache Daemon or client issue.
I had the same issue, with php on Windows 10 and Memcached installed on Ubuntu (running in the Windows Subsystem for Linux)
Im my case, the problem was that localhost resolves to [::1]:
>ping localhost
Pinging SURFACE-PRO-FRA [::1] with 32 bytes of data:
And Memcached by default listens only on 127.0.0.1.
To solve the issue, you can make Memcached listens also on the ipv6:
$ sudo vi /etc/memcached.conf
Replace
-l 127.0.0.1
with:
-l 127.0.0.1,::1
And then
sudo service memcached restart
Or alternatively, make your app connect to 127.0.0.1 instead of localhost.
I have a VPS with CentOS and DirectAdmin installed.
This VPS only have one site with WordPress CMS but Apache have very usage of 1 GB Ram.
for this i buy license and install Danginx plugin.after installing dangnix, my site and IP only show "Welcome to Nginx" text and every other files show 404 error page.
after many Google searchs, everyone says install new ioncube loader but i installed this before Dangnix installation and more than 2 time reinstall.
php -v command also show ioncube loader has installed but my site still show Welcome text.
when i restart apache with service httpd restart command show this error :
NameVirtualHost 79.127.127.143:8888 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
after many edits now this command show only "NameVirtualHost 79.127.127.143:8888 has no VirtualHosts" error.
Sorry for my bad english.
Thanks.
I think your problem is that it is port 8888. If you go to your website, default port is 80. Nginx only shows the message "Welcome to Nginx" if the port is not getting anywhere, so this is a configuration problem in Nginx.