HTTPfy

Port 34980 (ethercat)

IANA assigns port 34980 to ethercat: EtherCAT Port.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
ethercat TCP EtherCAT Port Martin Rostan -
ethercat UDP EtherCAT Port Martin Rostan -

Registry dates for this port: registered 2003-11.

Check what is listening on port 34980

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

Test it from outside

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

Block port 34980 in the firewall

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

Related ports

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