LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2002, 08:17 AM   #1
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Not getting Localhost access for CUPS


I'm trying to get CUPS to work and I'm having difficulty. The problem is apparently that of local networking not working, not a hardware problem in getting CUPS to work. My printer is connected to the USB port and gets identified (occasionally) by the printer identification program (printerdrake,... I'm using Mandrake 8.2). There is a listing in /etc/host for the local network IP. The network daemon is running. But I get no access to localhost, and specifically localhost:631 which CUPS uses. So, it's likely a network problem not a printer problem.

Any help is appreciated.
 
Old 12-15-2002, 07:25 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
Nobody?!?!

Anybody?!?!?
 
Old 12-15-2002, 10:30 PM   #3
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
well first what is the output of ifconfig. if you do have the loopback adapter running then that could be your problem. If you "ping localhost" what kind of a response do you get in return.
 
Old 12-16-2002, 12:32 PM   #4
paulo
Member
 
Registered: Oct 2002
Distribution: Fedora Core 2
Posts: 32

Rep: Reputation: 15
same problem - exactly

I get the same thing with CUPS configuration. I think the identification of the localhost by the NIC is screwed up. I get either

Forbidden
you don't have acces to that resource on the server.
Or I get
Not Found.
The requested resource was not found on this server.

This depends on whether I have in my network configuration localhost address 127.0.0.1 or my static ip address (handed to me by the departments sysadmin (linux naiive). I would assume that the localhost should have the 127.0.0.1 address but since it didn't work I tried the static IP address.

I am using the guis from kde to do all of this stuff.

ifconfig gives me information on the local loopback in both cases.
no errors that I can see. And ping goes on forever in both cases.
local 127.0.0.1 contacting 127.0.0.1
64 sent 64 received
64 sent 64 received
etc. etc.

I have been looking for some help on this for some time.

Thank you.
 
  


Reply


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 Problem - can not access localhost:631 ch.keller Linux - Hardware 3 06-06-2005 05:56 PM
CUPS on Ubuntu only wants localhost eMIR Linux - Software 4 02-23-2005 05:04 AM
CUPS & Localhost Confusion anaylo Linux - Networking 1 02-08-2004 08:28 AM
CUPS, localhost confusion anaylo Linux - Newbie 1 02-05-2004 10:10 AM
can't access http://localhost:631 (for cups printing) TheOneAndOnlySM Slackware 4 10-14-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:12 PM.

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