LPD (Line Printer Daemon)
What is Port 515?
Port 515 is used by the Line Printer Daemon (LPD) protocol, also known as the LPR (Line Printer Remote) protocol, for submitting print jobs to remote printers over a network. Defined in RFC 1179, LPD is one of the oldest network printing protocols, dating back to BSD Unix in the early 1980s. The protocol allows clients to send print jobs to a print server, which queues and manages the jobs for one or more printers. LPD supports basic operations like submitting jobs, checking queue status, and canceling jobs. While newer protocols like IPP (Internet Printing Protocol, port 631) offer more features, LPD remains supported by many printers and print servers for backward compatibility, particularly in Unix/Linux environments.
Common Uses
- Network printing from Unix/Linux workstations
- Print server job queuing and management
- Legacy enterprise print infrastructure
- Mainframe and midrange system printing
Technical Details
Copy-paste commands to check port 515 (LPD (Line Printer Daemon)) from your terminal
Test connectivity
nc -zv example.com 515
curl -v --max-time 5 http://example.com:515/
telnet example.com 515
nmap -p 515 -sV example.com
(echo > /dev/tcp/example.com/515) 2>/dev/null && echo "open" || echo "closed"
Open port in firewall
sudo ufw allow 515/tcp
sudo iptables -A INPUT -p tcp --dport 515 -j ACCEPT
sudo firewall-cmd --permanent --add-port=515/tcp && sudo firewall-cmd --reload
Security Considerations
LPD has no authentication mechanism and can be exploited for unauthorized printing, denial of service, and in some cases, remote code execution through buffer overflow vulnerabilities in older implementations. Block port 515 from external networks. Use IPP with authentication for modern printing needs. Restrict print server access to trusted clients.
Popular Ports Reference
The most commonly used and referenced network ports