NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

How to bind bozohttpd / inetd to port 8080?




Hello all,

I am currently trying to have bozohttpd listen on port 8080 instead of port 80 via inetd.

In /etc/services there is an entry "http-alt" for this.

However, when I set in the /etc/inetd.conf:

```
http-alt stream tcp nowait:600 _httpd /usr/libexec/httpd httpd -L wol /var/www/wol.lua /var/www
```

...I still cannot access port 8080.

Starting inetd in Debug mode shows:

```
extranet$ doas inetd -d /etc/inetd.conf
ADD : http-alt proto=tcp, wait.max=0.600, user:group=_httpd:(null) builtin=0 server=/usr/libexec/httpd policy=
registered /usr/libexec/httpd on 6
```

Did I miss something? If it matters, it is NetBSD 9.2_STABLE.

Many greetings
Matthias


Home | Main Index | Thread Index | Old Index