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.
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!!
Remove prev. installed and install new than start mysql . but when start next day same facing problem, I already check Skype(Not start)
How to slove problem
Run a netstat and see what program on port 3306 (MySQL default) is using. Typically this is Skype or other similar programs.
Try to change the port of MySQL. Just go to
config -> Services and Port Setting -> MySQL -> Main Port
It is default 3306 change it to 3308 and try again.
I am running Windows 10, and I just downloaded WAMP. I am trying to run localhost but whenever I type (http://localhost) into my browser I get this error:
"This site can't be reached. localhost refused to connect. ERR_CONNECTION_REFUSED."
I have already tested to see if port 8080 is being used, and it is not as it shows this comment:
"Your port 80 is not actually used."
Also, I have tried changing it to port 8888 but it has not worked. The Icon for my WAMP is currently red as well.
Thanks in advance!
You may need VC++ 2010 version, i just installed this and it worked :)
(my computer, win10 x64)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
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
My EasyPHP server suddenly stops working, it has happened before, and I changed the port to 8080, but now it does not work again.
I checked whether there are any processes using my port using netstat but there aren't any apps using the port.
Here are what is written in the log:
18/08 15:43:25 EasyPHP Apache CreateProcess "C:\PROGRA~2\EasyPHP\binaries\apache\bin\eds-httpd.exe"
18/08 15:43:26 EasyPHP ServerBase::TimerProc : GetProcessVersion Apache (pid: 7656) error 5
18/08 15:43:26 EasyPHP Apache Unexpected end of Apache !
And when I go to eds-httpd.exe to try and run it, it would say "no listening sockets available, please try again
I have no clue what's going on, please advise.
Update
I found my error. Apparently my IP has changed from 10.0.1.15 to 10.0.1.14
I found it from ipconfig and changed the config in httpd.conf