CyberHunter
Local dataset, no network
// Monitoring & logging

Port 1338: WMC-log-svr

Port 1338 is assigned by IANA to wmc-log-svc (WMC-log-svr).

1338

How wmc-log-svc works

Monitoring & logging
monitoringdevicewmc-log-svc monitoringdevicewmc-log-svc

The monitoring server collects metrics, alerts or logs from devices over port 1338.

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)
01 Security

Is port 1338 dangerous?

We have no specific security note for port 1338. Its risk depends on the program actually listening on it. General advice for monitoring & logging services:

  • Restrict management and monitoring protocols to the monitoring network.
  • Replace community strings and default credentials.
  • Send logs over TLS.
02 Registry

IANA registry entries for port 1338

ServicePortTransportDescriptionReferenceUpdated
wmc-log-svc 1338 TCP, UDP WMC-log-svr - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 1338, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :1338

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 1338 is assigned by IANA to wmc-log-svc (WMC-log-svr).

Is port 1338 TCP or UDP?

Port 1338 is registered for TCP and UDP.

Is it safe to open port 1338?

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. Restrict management and monitoring protocols to the monitoring network.

How do I check if port 1338 is open?

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

05 Related

Latest vulnerability news

All news