Dashboard not working.

Asked by Scott Duensing

I have installed and configured apt-cacher-ng and it seems to work. However I cannot access the dashboard.

# curl "http://192.168.36.52:3412/acng-report.html"
curl: (7) couldn't connect to host

# curl "http://localhost:3412/acng-report.html"
curl: (7) couldn't connect to host

# lsof -i :3142
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apt-cache 798 apt-cacher-ng 5u IPv4 8073 0t0 TCP *:3142 (LISTEN)
apt-cache 798 apt-cacher-ng 6u IPv6 8074 0t0 TCP *:3142 (LISTEN)

So it's listening, but nobody is home. Nothing in the logs.

Any ideas? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt-cacher-ng Edit question
Assignee:
No assignee Edit question
Solved by:
Scott Duensing
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

ping -c 4 192.168.36.52

Does it ping ok?

Revision history for this message
Scott Duensing (scott-jaegertech) said :
#2

Yes, the box pings fine. And apt-cacher-ng actually works as far as apt caching and proxying goes. I just can't get to the web UI. I tried turning on the web server features in the conf file and can't connect to those virtual folders either.

Revision history for this message
Eduard Bloch (edi-gmx) said :
#3

This doesn't make sense, both services go through the same port.

Have you tried anything else besides curl? Or did you check your environment, maybe the http_proxy variable is set to something and that proxy is broken?

Revision history for this message
Scott Duensing (scott-jaegertech) said :
#4

Tell me about it. I've tried several browsers, both the public IP and localhost, from the machine it's running on and from other machines - all kinds of stuff. Makes ZERO sense. I was hoping someone would be like, "you big dummy, do this..." and point out something I was doing wrong.

Revision history for this message
Scott Duensing (scott-jaegertech) said :
#5

It *IS* a "big dummy" problem. The port is wrong! Thanks anyway. Total user failure.