#1030292 Cannot bind to privileged port

Package:
apt-cacher-ng
Source:
apt-cacher-ng
Description:
caching proxy server for software repositories
Submitter:
Daniel Richard G.
Date:
2023-05-17 09:39:06 UTC
Severity:
normal
#1030292#5
Date:
2023-02-02 05:27:36 UTC
From:
To:
I want to run apt-cacher-ng on port 80 for a dedicated caching server.

After configuring via debconf to use that port, and restarting, nothing
is listening at localhost:80. I see the following in syslog:

    2023-02-02T00:10:04.728949-05:00 image-debian64 systemd[1]: Starting apt-cacher-ng.service - Apt-Cacher NG software download proxy...
    2023-02-02T00:10:04.740737-05:00 image-debian64 apt-cacher-ng[668]: Couldn't bind socket: Permission denied
    2023-02-02T00:10:04.740858-05:00 image-debian64 apt-cacher-ng[668]: Couldn't bind socket: Permission denied
    2023-02-02T00:10:04.743750-05:00 image-debian64 systemd[1]: Started apt-cacher-ng.service - Apt-Cacher NG software download proxy.

If this is a limitation of the current package, then it should be noted
in the documentation and debconf prompt.

#1030292#10
Date:
2023-05-17 09:02:05 UTC
From:
To:
I have run into a similar strange issue as well.
After an uppgrade form Deb 11 bullseye to 12 bookworm my setup stopped
working.
apt-cacher-ng fails to bind to a port higher than 32767.

Martin