Je moet bij #Restrict acces to the server... en #Restrict acces to the admin pager... het ip adres invullen van de pc waar vandaan je de boel in wil stellen.
Als 192.168.1.34 het ip is van de server, dan is dat niet goed.
de ip waar mijn ubuntu op draait in Vmware is 192.168.1.69 en uit van windows heb ik
192.168.1.78 draaien
Ik kom maar dus niet in http:localhost:631 of
http://192.168.1.69:631Moet ik nog wat anders gaan verander ofzo
als ik de bestand vi etc/cups/c ups.d/ports.conf wil openen met vi editor krijg ik een nieuwe document ??
Some other configuration for the CUPS server is done in the file /etc/cups/cups.d/ports.conf:
• Listen: By default on Ubuntu, the CUPS server installation listens only on the loopback interface
at IP address 127.0.0.1. In order to instruct the CUPS server to listen on an actual network adapter's
IP address, you must specify either a hostname, the IP address, or optionally, an IP address/port
pairing via the addition of a Listen directive. For example, if your CUPS server resides on a local
network at the IP address 192.168.10.250 and you'd like to make it accessible to the other systems
on this subnetwork, you would edit the /etc/cups/cups.d/ports.conf and add a Listen directive,
as such:
Listen 127.0.0.1:631 # existing loopback Listen
Listen /var/run/cups/cups.sock # existing socket Listen
Listen 192.168.10.250:631 # Listen on the LAN interface, Port 631 (IPP)
#Restrict acces to the server192.168.1.69
Order allow,deny
Allow localhost
Allow @192.168.1.78
#Restrict acces to the admin pager192.168.1.69
Order allow,deny
Allow localhost