This is just a bug report posted here to make it findable for anyone who has the same problem; guaranteed not of general interest.
After a from-scratch Time Machine restore, the local Web server on your Mac
won’t start, you get connection rejected if you go to
http://localhost/. Starting it with “Web Sharing” under the
“Sharing” preference pane doesn’t help.
How To Fix ·
The Time Machine restore for some reason doesn’t create the directory
/private/var/log/apache2, so httpd can’t log, so it refuses to
sudo mkdir /private/var/log/apache2 and you’re good to go.