[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connecting to Port 631



Once upon a time Bob Underwood (mgkrebs1@cox.net) wrote:

   > I installed cups and kprint on a different machine and can't connect to 
   > localhost:631.  The error message says: "Could not connect to host localhost 
   > (port 631)"
   > 
   > /etc/services has these lines:
   > 
   > ipp	631/tcp			#Internet Printing Protocol
   > ipp	631/udp			#Internet Printing Protocol
   > 
   > /etc/hosts has 127.0.0.1 localhost
   > 
   > root is specifically listed in group lpadmin in /etc/groups.
   > 
   > This box has kernel 2.4.17.  The printer will use ipp to print to a 
   > netprinter on a different box.
   > 
   > I'm sure I'm missing something simple, but have no clue.  Any help?

check to see that the interface lo is up:
	
#ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:31121 (30.3 KiB)  TX bytes:31121 (30.3 KiB)


if not jsut do 
#ifup lo

hope that helps

Ayman



Reply to: