Forum archive
tkl LXC and apt-cacher-ng not working
Hi all.
I just tried the tkl-lxc appliance on the hub.
All seems to be working as expected but I can't get the pre configured apt-cacher-ng to work.
All i get is:
Err http://cdn.debian.net wheezy Release.gpg
Could not connect to 192.168.121.1:3124 (192.168.121.1). - connect (111: Connection refused)
I have looked at the config files, see no errors there
Did a tcpdump -i natbr0 'port 3142'
And I see traffic.
Even tried it from the lxc host itself but still the same connection refused message.
Have I perhaps missed something, or is it broken. Any Ideas?
if I disable apt proxy on the containers apt-get works as expected.
\\Gustaf
But apt-cacher-ng is pretty straight-forward software... And in my experience it just works... The only thing that I could guess is the IP address is wrong for some reason...!? You have demonstrated that the host's port 3142 has something going on... Perhaps you could curl the address and see what you get back? apt-cacher-ng serves a basic html page (which details config) when you try to connect with a browser.