How to fix XAMPP’s OS 10048 Error Only one usage of each socket address (protocol/network address/port) is normally permitted. AH00451: no listening sockets available, shutting down.
So Ive been dealing with this message when running a CLI script that executes the start of xammp. I searched and searched online but couldn’t really find a quick fix. But finally found what works for me.
Im using IPv6 and my localhost IP is ::0
If you open your httd.conf file:
Located at xampp/apache/conf/httd.conf
#Listen 22.214.171.124:80 Listen 80
#Listen 126.96.36.199:80 Listen [::0]:80
or if you use IPv4
#Listen 188.8.131.52:80 Listen 0.0.0.0:80
Restart Apache and you should be good to go, no more error message.
Also if you want speed up your XAMPP this is what seemed to do it for me!
Add right under that line