CUPS - can't connect to localhost:631

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Gullible Jones
Posts: 249
Joined: 2008-08-22 18:31

CUPS - can't connect to localhost:631

#1 Post by Gullible Jones »

On a new install of Debian Squeeze, I've got CUPS running, but cannot connect to the web interface on localhost:631 - the connection times out. I've got a firewall running, but stopping the firewall doesn't change my inability to connect to the print server. Hostname and networking are configured correctly, to the best of my knowledge, and /etc/cups/cupsd.conf is unchanged from the default (which does tell CUPS to listen on localhost:631). CUPS itself is definitely running.

Anyone have some idea what could be going on?

emetib
Posts: 42
Joined: 2006-11-23 18:39

Re: CUPS - can't connect to localhost:631

#2 Post by emetib »

check on your /etc/hosts files, allow/deny
it might be being blocked in there.

cronugs
Posts: 7
Joined: 2011-02-01 11:44

Re: CUPS - can't connect to localhost:631

#3 Post by cronugs »

I'm having the same problem - I have updated squeeze to sid, but nothing changed.

my /etc/hosts looks fine.

refracta
Posts: 1234
Joined: 2008-10-26 01:46

Re: CUPS - can't connect to localhost:631

#4 Post by refracta »

http://127.0.0.1:631/

does this work?

cronugs
Posts: 7
Joined: 2011-02-01 11:44

Re: CUPS - can't connect to localhost:631

#5 Post by cronugs »

I'm not sure if this will help, but it worked for me

I had (just before I decided to set up printing) installed hal to satisfy some dependencies of enlightenment. The enlightenment packages didn't specifically depend on hal but required it for some reason for them to configure. beats me.

anyway I just noticed that unplugging and replugging my USB wireless adapter was causing a complete system lock, and figured it was caused by hal, so I "aptitude remove hal" and as well as fixing the lockups, I can now access cups at http://localhost:631

I have no idea why it was stomping it, but since hal (i believe) is obsolete, and not required in squeeze, I suggest you check if its installed and remove it.

refracta
Posts: 1234
Joined: 2008-10-26 01:46

Re: CUPS - can't connect to localhost:631

#6 Post by refracta »

if the guy hasn't figured it out by now....well.....

venik
Posts: 1
Joined: 2011-02-10 17:35

Re: CUPS - can't connect to localhost:631

#7 Post by venik »

I have the same problem: I used to print from my machine through cups on a printer that is on a print server.
Somehow, now when I try to do that, I am told:
Cannot connect to localhost... etc.
I suspect one of the ubuntu "upgrades" did it, but I am not sure which one. I removed HAL and it did nothing-- same problem.
It is a ROYAL pain!

User avatar
demosthenese
Posts: 168
Joined: 2009-07-12 14:39
Location: Liverpool, UK

Re: CUPS - can't connect to localhost:631

#8 Post by demosthenese »

You could try system-config-printer to do the cups set up for you.

Post Reply