It seems like a very simple job, and in fact it is. But I had an issue when I tried to change this in my Cent OS 6.3 setup.

After some digging on the internet I found out selinux was the blocking factor.

The configuration of the new port has to be done in the lighttpd conf file.

/etc/lighttpd/lighttpd.conf

server.port = 2080

When I changed the config file and restarted the /etc/init.d/lighttpd service I got following error:

(network.c.379) can't bind to port:  2080 Permission denied

I checked that I added the …