localhost unreachable

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
latenite
Beiträge: 688
Registriert: 14.05.2007 01:04:23

localhost unreachable

Beitrag von latenite » 20.07.2008 20:33:08

Hallo Leute

ich habe mir grad mit debootstrap einn neues system aufgesetzt und komme nicht auf das cups webinterface
http://127.0.0.1:631

das geht aber...

Code: Alles auswählen

kai@developer:~$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.017 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.012 ms
^C
--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.012/0.014/0.017/0.004 ms
kai@developer:~$ 

meine /etc/network/interfaces sieht so aus:

Code: Alles auswählen

kai@developer:~$ cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.3.100
        netmask 255.255.255.0
        network 192.168.3.0
        broadcast 192.168.1.255
        gateway 192.168.3.1
kai@developer:~$ 
was is da noch falsch?

..blöde Frage -> muss dafür nen apache laufen?

Danke für eure Hilfe :D

nepos
Beiträge: 5238
Registriert: 05.01.2005 10:08:12

Re: localhost unreachable

Beitrag von nepos » 20.07.2008 20:48:11

Läuft dein Cups denn überhaupt?
Was ist die genaue Fehlermeldung?

latenite
Beiträge: 688
Registriert: 14.05.2007 01:04:23

Re: localhost unreachable

Beitrag von latenite » 20.07.2008 20:54:34

Denke cups läuft...

Code: Alles auswählen

kai@developer:~$ ps -A | grep cups
 2274 ?        00:00:00 cupsd
kai@developer:~$ 
das sagt der browser...

Code: Alles auswählen

Failed to Connect
Iceweasel can't establish a connection to the server at 127.0.0.1.

Though the site seems valid, the browser was unable to establish a connection.

    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites?  Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
hier noch wasifconfig sagt:

Code: Alles auswählen

developer:/home/kai# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1a:4d:46:c1:ad  
          inet addr:192.168.3.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:4dff:fe46:c1ad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12905 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15232896 (14.5 MiB)  TX bytes:2111834 (2.0 MiB)
          Interrupt:219 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2016 (1.9 KiB)  TX bytes:2016 (1.9 KiB)

developer:/home/kai# 
hmm? was kann ich noch posten? fehlt noch was? :D

Ikarus
Beiträge: 44
Registriert: 17.09.2006 17:32:03

Re: localhost unreachable

Beitrag von Ikarus » 23.07.2008 12:18:23

Was sagt den nmap ? Hast du auch den richtigen Port ? oder da ausversehen was verbogen ?

Gruß

uname
Beiträge: 12478
Registriert: 03.06.2008 09:33:02

Re: localhost unreachable

Beitrag von uname » 23.07.2008 12:44:20

Was sagt:

Code: Alles auswählen

lsof -c cupsd
Irgendwo sollten die Zeilen stehen (fgrep ipp):

Code: Alles auswählen

cupsd   24527 root    2u  IPv4   18476385              TCP localhost:ipp (LISTEN)
cupsd   24527 root    4u  IPv4   18476388              UDP *:ipp 

cosmac
Beiträge: 4576
Registriert: 28.03.2005 22:24:30

Re: localhost unreachable

Beitrag von cosmac » 23.07.2008 12:51:28

hi,

geht denn "ping localhost" bzw. wie sieht denn /etc/hosts aus?
Das sollte normal drinstehen:

Code: Alles auswählen

127.0.0.1       localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
1.1.2.4 DoorSteward
und noch eine Zeile mit der Adresse von eth0 und dem hostname.
Beware of programmers who carry screwdrivers.

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Re: localhost unreachable

Beitrag von KBDCALLS » 23.07.2008 12:52:41

Code: Alles auswählen

lsof -i:631
als Root . Was ergibt das ?
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Antworten