http://localhost stopped working following my Sonoma upgrade
Following my Sonoma update, my http://localhost stopped working.
I did sudo apachectl start, and got the following message: httpd (pid2357 already running)
MacBook Pro 16″, macOS 14.0
Following my Sonoma update, my http://localhost stopped working.
I did sudo apachectl start, and got the following message: httpd (pid2357 already running)
MacBook Pro 16″, macOS 14.0
C_ASB wrote:
System Settings -> General -> AirDrop & Handoff -> AirPlay Receiver
If AirPlay Receiver is enabled localhost might not work.
Try disabling it. It worked for me
That's the default setting. I've never touched it.
It seems like AirPlay Receiver was introduced in Monterey and used ports 5000 and 7000. So if you had configured your own Apache to run on those ports, then you would need to disable AirPlay Receiver. I recommend using standard web server ports like 80, 8000, or 8080 instead.
The fact that this works (worked for me as well after updating to Sonoma) for a web app I was testing on port 3010 is insane, major overlook on their part.
thank you Barney-15E my config file was indeed in /Users/Shared/Relocated Items and you helped me out immensley!
chris
http://localhost stopped working following my Sonoma upgrade