Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-07-2005, 04:50 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Kelowna
Posts: 21

Rep: Reputation: 15
How to connect to http://localhost:631 to install CUPS

I am in a real bind, I am trying to connect to http://localhost:631 in order to
install CUPS and my printer (local) HP-Deskjet_890C and it just doesn't want
to work.

Everytime I try (even on different computers (3) on a network) I get the
same error message, which is:

"An error occurred while loading http://localhost:631
Could not connect to host localhost (port 631)"

Who is the localhost, is it my computer?

Your help will be much appreciated.

Old 06-07-2005, 05:09 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Yes, localhost should be your computer. Try using the numerical address
Also, check your cups server is running and make sure your firewall isn't blocking connections through the loopback interface
Old 06-07-2005, 08:12 PM   #3
Registered: Jan 2004
Location: USA, Pa
Distribution: Gentoo, Fedora Core 3, Mepis, Vector
Posts: 83

Rep: Reputation: 15
What I think you most do is Install CUPS first then connect to localhost:631 or There is where you will be able to configure your printers setup.
Old 06-07-2005, 09:25 PM   #4
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
Yes. First CUPS should be installed.

Configuring and managing your CUPS should be done using the web interface http://localhost:631

localhost is the host name for your local machine which is always IP

Make sure you have first installed CUPS, running the CUPS daemon and then try the above URL in your browser.

Getting CUPS? Check your distro specific package manager for installation packages or download source tarballs here:

Last edited by vharishankar; 06-07-2005 at 09:28 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS http://localhost:631/ LUB997 Linux - Software 1 09-26-2005 07:52 PM
Can't find http://localhost:631 encore Slackware 5 03-07-2005 06:26 PM
http://localhost:631 zaicheke Linux - Software 5 08-01-2004 01:13 PM
can't access http://localhost:631 (for cups printing) TheOneAndOnlySM Slackware 4 10-14-2003 08:01 PM
What the heck is http://localhost:631 glenn69 Linux - Newbie 5 10-04-2003 02:02 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration