CyberHunter
// Web

Port 3012: Trusted Web Client

Port 3012 is assigned by IANA to twsdss (Trusted Web Client).

3012

How twsdss works

Web
browser:3012twsdss browser:3012twsdss

A browser sends an HTTP request to port 3012 and the twsdss 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 3012 dangerous?

We have no specific security note for port 3012. 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 3012

ServicePortTransportDescriptionReferenceUpdated
twsdss 3012 TCP, UDP Trusted Web Client - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 3012, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :3012

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 3012 is assigned by IANA to twsdss (Trusted Web Client).

Is port 3012 TCP or UDP?

Port 3012 is registered for TCP and UDP.

Is it safe to open port 3012?

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 3012 is open?

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

05 Related