All ports

Port19/TCP

chargen

Port

19

Protocol

TCP

Category

Well-Known

Service

chargen

What is port 19?

Port 19/TCP is a Well-Known port, assigned by IANA for widely recognized services. It is associated with the chargen service.

Character Generator

Useful commands

nmapnmap -p 19 -sV example.com
netcatnc -zv example.com 19
curlcurl -v http://example.com:19/
telnettelnet example.com 19
bash(echo > /dev/tcp/example.com/19) 2>/dev/null

Firewall commands

UFWAllow
sudo ufw allow 19/tcp
Deny
sudo ufw deny 19/tcp
iptablesAllow
sudo iptables -A INPUT -p tcp --dport 19 -j ACCEPT
Deny
sudo iptables -D INPUT -p tcp --dport 19 -j ACCEPT
firewalldAllow
sudo firewall-cmd --permanent --add-port=19/tcp
WindowsAllow
netsh advfirewall firewall add rule name="Open Port 19" dir=in action=allow protocol=TCP localport=19

Security Risks

  • Unauthorized access to the service
  • Data exposure if the service is unauthenticated
  • Outdated versions with vulnerabilities
  • Incorrect service configuration

Frequently Asked Questions

What service runs on port 19/TCP?

Port 19/TCP is associated with the chargen service. Character Generator

Is it safe to expose port 19 to the Internet?

It depends on the service and configuration. Port 19 (chargen) is a Well-Known port. If you need to expose it, keep the service updated, use strong authentication, and configure a firewall. It's always recommended to restrict access by IP when possible.

How do I check if port 19 is open?

You can use nmap: `nmap -p 19 -sV example.com`, netcat: `nc -zv example.com 19`, or the bash command: `(echo > /dev/tcp/example.com/19) 2>/dev/null && echo "Open" || echo "Closed"`.

How do I open or close port 19 on my firewall?

On Linux with UFW: `sudo ufw allow 19/tcp` (open) or `sudo ufw deny 19/tcp` (close). With iptables: `sudo iptables -A INPUT -p tcp --dport 19 -j ACCEPT`. On Windows: `netsh advfirewall firewall add rule name="Open Port 19" dir=in action=allow protocol=TCP localport=19`.

What applications and services use port 19?

Port 19/TCP is used by the chargen service. Specific uses depend on the software and configuration. Check our related tools section for more information.