View previous topic :: View next topic |
Author |
Message |
Takumo n00b
Joined: 10 Jan 2005 Posts: 68
|
Posted: Mon Dec 18, 2006 10:21 am Post subject: http://localhost:631 geht nicht |
|
|
Hallo! Ich versuche meinen Drucker zu installieren. Leider klappt das nicht! Ich habe alles gemacht wie es in der Anleitung stand und nun gehe ich auf
http://localhost:631
und dann kommt
Beim Laden von http://localhost:631 ist folgender Fehler aufgetreten:
Keine Verbindung zu Rechner localhost (Port 631).
was kann ich machen? |
|
Back to top |
|
|
Keepoer Apprentice
Joined: 30 Mar 2004 Posts: 293 Location: Zwischen Kassel und Edewecht pendelnd
|
Posted: Mon Dec 18, 2006 10:26 am Post subject: |
|
|
Code: | /etc/init.d/cups start | vorher eingegeben? |
|
Back to top |
|
|
pman n00b
Joined: 29 Nov 2003 Posts: 23 Location: Ost-Brandenburg
|
Posted: Mon Dec 18, 2006 11:00 am Post subject: |
|
|
Hallo,
schau Dir mal Deine Konfig /etc/cups/cupsd.conf an.
Die ist nicht auf Sicherheit getrimmt, sollte aber etwa so aussehen.
Code: |
ServerName meinserver.meine.domain
ServerAdmin admin@meine.domain
DocumentRoot /usr/share/cups/docs
FileDevice Yes
LogLevel info
User lp
Group lp
Listen 192.168.10.1:631
Listen localhost:631
BrowseAllow *.meine.domain
BrowseDeny All
BrowseOrder deny,allow
BrowsePort 631
BrowseTimeout 30
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.10.1
</Location>
<Location /admin>
Order Deny,Allow
Deny From All
Allow From 192.168.10.1
</Location>
|
hth pman |
|
Back to top |
|
|
Takumo n00b
Joined: 10 Jan 2005 Posts: 68
|
Posted: Mon Dec 18, 2006 11:50 am Post subject: |
|
|
Neee, hab jetzt das Problem. In der host Datei war 127.0.0.1 nicht auf localhost gestellt
danke trotzdem ^^ |
|
Back to top |
|
|
Finswimmer Bodhisattva
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Mon Dec 18, 2006 12:06 pm Post subject: |
|
|
Dann bitte ein [Solved] in den Titel.
BTW: Wie hast du das denn geschafft, dass localhost nicht 127.0.0.1 ist?
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2937 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Mon Dec 18, 2006 2:31 pm Post subject: |
|
|
Finswimmer wrote: | Dann bitte ein [Solved] in den Titel.
BTW: Wie hast du das denn geschafft, dass localhost nicht 127.0.0.1 ist?
Tobi |
so:
Code: |
grep localhost /etc/hosts && ping localhost -c 3
#127.0.0.1 localhost loopback loghost
192.168.0.1 localhost
PING localhost (192.168.0.1) 56(84) bytes of data.
64 bytes from localhost (192.168.0.1): icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from localhost (192.168.0.1): icmp_seq=2 ttl=64 time=0.019 ms
64 bytes from localhost (192.168.0.1): icmp_seq=3 ttl=64 time=0.021 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.019/0.021/0.023/0.001 ms
|
Die Frage lautet eher: welchen Sinn hatte es, localhost von 127.0.0.1 auf etwas anders zu wechseln? _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
makenoob Apprentice
Joined: 19 Aug 2004 Posts: 272 Location: /Germany/Düsseldorf
|
Posted: Mon Dec 18, 2006 9:24 pm Post subject: |
|
|
so richtig gesund ist es aber nicht, wenn localhost nicht 127.0.0.1 ist; abgesehen davon, dass es nicht wirklich RFC-konform ist...
gruß
marc |
|
Back to top |
|
|
|