I've just installed lighttpd on Mac OS 10.6, but:
$ lighttpd -f lighttpd.conf -D 2011-10-05 19:01:32: (network.c.358) can't bind to port: 80 Permission denied $ lsof -i :80 [a ton of processes]
How can I start lighttpd on a different port?
Also read the
You've already been answered about how to set a specific port but there are still two points to be highlighted in your question:
The first point may eliminate the need to change default port, since it seems you wanted to change it in order to avoid the permission error.
On OS X ensure system's httpd is off when trying to start your own webserver, it's set with System Preferences -> Sharing -> Web Sharing checkbutton.