CyberHunter
// Web

Port 4848: App Server - Admin HTTP

Port 4848 is assigned by IANA to appserv-http (App Server - Admin HTTP).

4848

How appserv-http works

Web
browser:4848appserv-http browser:4848appserv-http

A browser sends an HTTP request to port 4848 and the appserv-http server sends the page back.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
Category
Web
01 Security

Is port 4848 dangerous?

We have no specific security note for port 4848. Its risk depends on the program actually listening on it. General advice for web services:

  • Serve it over HTTPS only and check the HTTP security headers.
  • Keep admin consoles and development servers off the Internet.
  • Patch the application server and remove default credentials and sample apps.
02 Registry

IANA registry entries for port 4848

ServicePortTransportDescriptionReferenceUpdated
appserv-http 4848 TCP, UDP App Server - Admin HTTP - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 4848, and is it reachable?

Linux

sudo ss -ltnup 'sport = :4848'      # process listening on 4848
sudo lsof -nP -i :4848

macOS

sudo lsof -nP -i :4848

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 4848 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 4848
netstat -ano | findstr :4848

From another machine

nmap -p 4848 -sV <host>
sudo nmap -sU -p 4848 <host>
nc -zv <host> 4848

Block it in the firewall

sudo ufw deny 4848/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 4848" -Direction Inbound -LocalPort 4848 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 4848 used for?

Port 4848 is assigned by IANA to appserv-http (App Server - Admin HTTP).

Is port 4848 TCP or UDP?

Port 4848 is registered for TCP and UDP.

Is it safe to open port 4848?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Serve it over HTTPS only and check the HTTP security headers.

How do I check if port 4848 is open?

On Linux run "ss -ltnup 'sport = :4848'", on macOS "lsof -nP -i :4848", and on Windows "netstat -ano | findstr :4848" to see the local process. From another machine, "nmap -p 4848 <host>" shows whether it is reachable.

05 Related