HTTPfy

Port 2697 (oce-snmp-trap)

IANA assigns port 2697 to oce-snmp-trap: Oce SNMP Trap Port.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
oce-snmp-trap TCP Oce SNMP Trap Port Peter Teeuwen -
oce-snmp-trap UDP Oce SNMP Trap Port Peter Teeuwen -

Check what is listening on port 2697

Linux: is anything listening on TCP 2697?
sudo ss -tlnp 'sport = :2697'
Linux: UDP 2697
sudo ss -ulnp 'sport = :2697'
Linux / macOS: which process owns the port
sudo lsof -nP -i :2697
Older Linux / BSD (net-tools)
sudo netstat -tlnp | grep ':2697 '
Windows (Command Prompt)
netstat -ano | findstr :2697
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 2697 -State Listen | Select LocalAddress,OwningProcess

Test it from outside

From another machine
nc -vz -w 5 HOST 2697
From Windows
Test-NetConnection HOST -Port 2697
UDP probe (no reply does not prove it is closed)
nc -vzu -w 5 HOST 2697

Block port 2697 in the firewall

ufw
sudo ufw deny 2697/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 2697 -j DROP
nftables
sudo nft add rule inet filter input tcp dport 2697 drop
Windows Firewall
New-NetFirewallRule -DisplayName 'Block TCP 2697' -Direction Inbound -Protocol TCP -LocalPort 2697 -Action Block
ufw
sudo ufw deny 2697/udp
iptables
sudo iptables -A INPUT -p udp --dport 2697 -j DROP
nftables
sudo nft add rule inet filter input udp dport 2697 drop
Windows Firewall
New-NetFirewallRule -DisplayName 'Block UDP 2697' -Direction Inbound -Protocol UDP -LocalPort 2697 -Action Block

Related ports

All port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.