Ciur Eugen wrote:
> I am using lighty (http://www.lighttpd.net/). After compilation to
> start it is as simple as:
>
>> lighttpd -f config.conf
>
>
> On Apr 1, 7:08 pm, Robert Harris <robert.f.har...@blueyonder.co.uk>
> wrote:
>> Ciur Eugen wrote:
>>> Hi sysadmins!
>>> I try to run a webserver on my machine, but when I start it, it tell
>>> me that it cannot bind to port 80.
>> How do you try to run your webserver? The standard debian way of running
>> apache is through an init script which allows it to bind to port 80
>> because it is started by root.
>>
>> Robert
>>
>>
>>
>>>> can't bind to port: 80 Permission denied
>>> The problem is that my user probably does not have privileges to use
>>> port 80.
>>> No other application uses that port.
>>> I use debian.
>>> How can a grant user X permissions to bind/use/listen to certain
>>> ports ?
>>> Thanks you !
For an user-mode server you have to pick
a port above 1024: The ports from 1 to 1023
are privileged ports available to root code
only.
--
Tauno Voipio
tauno voipio (at) iki fi