- Industrial and IoT protocols often have no authentication: never expose them to the Internet.
- Segment OT networks from IT and use protocol-aware firewalls.
- Monitor with an ICS-aware intrusion detection system.
Port 19998: IEC 60870-5-104 process control - secure
Port 19998 is assigned by IANA to iec-104-sec (IEC 60870-5-104 process control - secure).
How iec-104-sec works
IoT & industrial (ICS)A controller sends commands to an industrial device on port 19998, which acts on the physical process.
- Transport
- TCP
- 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
- IoT & industrial (ICS)
Is port 19998 dangerous?
We have no specific security note for port 19998. Its risk depends on the program actually listening on it. General advice for iot & industrial (ics) services:
IANA registry entries for port 19998
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| iec-104-sec | 19998 | TCP | IEC 60870-5-104 process control - secure | - | 2010-10-18 |
| - | 19998 | - | Reserved | - | - |
// source: IANA service name and port number registry
Which program uses port 19998, and is it reachable?
Linux
sudo ss -ltnup 'sport = :19998' # process listening on 19998
sudo lsof -nP -i :19998macOS
sudo lsof -nP -i :19998
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 19998 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 19998 netstat -ano | findstr :19998
From another machine
nmap -p 19998 -sV <host> nc -zv <host> 19998
Block it in the firewall
sudo ufw deny 19998/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 19998" -Direction Inbound -LocalPort 19998 -Protocol TCP -Action Block # Windows
What is port 19998 used for?
Port 19998 is assigned by IANA to iec-104-sec (IEC 60870-5-104 process control - secure).
Is port 19998 TCP or UDP?
Port 19998 is registered for TCP.
Is it safe to open port 19998?
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. Industrial and IoT protocols often have no authentication: never expose them to the Internet.
How do I check if port 19998 is open?
On Linux run "ss -ltnup 'sport = :19998'", on macOS "lsof -nP -i :19998", and on Windows "netstat -ano | findstr :19998" to see the local process. From another machine, "nmap -p 19998 <host>" shows whether it is reachable.