[NTLUG:Discuss] Fatal error - Cannot bind to lpd port '515'

Paul Ingendorf pauldy at wantek.net
Tue Oct 7 19:43:15 CDT 2003


Your best bet here is to go with the web based administration utility for
cups.  Your in a particularly odd situation here with this config because
everyone outside is blind to your full config and there are literally a
couple hundred permutations that you could be using.

I would open a browser point it to your ip address or use localhost.  Be
aware that there are security features in place if you are not accessing the
page from localhost which you will need to configure in your cupsd.conf file
usually located in /etc/cups

In this file look for the line that reads

Allow From 127.0.0.1

for the location /admin change this to read

Allow From 127.0.0.1
Allow From yournetwork/subnet here

If you have x up and running like so.

http://127.0.0.1:631/

Using the menu bar at the top go to the printers option.  Then if you have
any printers configured click the delete printer button that corresponds to
the printer shown.  Next click the add printer button located near the
bottom of the page.  This will walk you through adding your printer back in.

Once you have completed this setup, you should be able to print via the
printer with no problems.

To test click the print test page when you are completed with the setup.

-------------

Also, I looked into it and it is possible that the offending file in xinetd
is /etc/xinetd.d/cups-lpd check to see if it is disabled.  If not disable it
and restart xinetd.




More information about the Discuss mailing list