5800
VNC HTTP (Java Viewer)
High RiskTCP — Remote Access
Port Overview
Port Number
5800
Service Name
VNC HTTP (Java Viewer)
Transport Protocol
TCP
Category
Remote Access
Security Risk
High
Port Range
Registered (1024-49151)
What is Port 5800?
Port 5800 is used by VNC servers to serve an embedded Java applet-based web viewer, allowing browser-based remote desktop access without installing a VNC client. The HTTP server on this port serves a Java applet that connects to the VNC server on port 5900. This legacy functionality is rarely used today as Java applets have been removed from modern browsers.
TCP
Remote Access
Security Considerations
Port 5800 (VNC HTTP (Java Viewer)) is classified as high risk. This port is a common target for automated scanning and brute-force attacks. If you must expose it, restrict access to known IP addresses.
Recommendation: Use firewall rules to whitelist trusted IPs. Enable rate limiting and intrusion detection.