Forum OpenACS Q&A: Cannot bind port 80, strange :-?

Collapse
Posted by Bruno Mattarollo on

Hello,

I am trying to start AOLServer to bind to port 80 on RHEL 3 and I get this error:

[22/Mar/2004:15:51:12][29275.3073884288][-main-] Notice: nsmain: security info: uid=500, euid=500, gid=500, egid=500
[22/Mar/2004:15:51:12][29275.3061128112][-sched-] Notice: sched: starting
[22/Mar/2004:15:51:12][29275.3073884288][-main-] Error: nssock: failed to listen on 192.168.108.61:80: Permission denied
I am running AOLServer 4.0 GM, compiled on the machine, the command line to startup is:
# /usr/local/aolserver/bin/nsd-postgres -u myuser -ft config-5-1.tcl
Running that as root. I have nothing binded to port 80 and I can run AOLServer perfectly without problems on any port > 1024 ... Anyone seen something like this?

Collapse
Posted by Janine Ohmer on
You need to add -b <ip>:<port> to your nsd command line.  This is new for version 4.  I haven't actually had to do this yet myself but I'm pretty sure that's the right syntax.
Collapse
Posted by Bruno Mattarollo on
Thanks Janine, it was that indeed! It works now.

Cheers

/B