HTTPfy

Port 374 (legent-2)

IANA assigns port 374 to legent-2: Legent Corporation.

Well-known (system) port, 0-1023 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
legent-2 TCP Legent Corporation Keith Boyce -
legent-2 UDP Legent Corporation Keith Boyce -

Check what is listening on port 374

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

Test it from outside

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

Block port 374 in the firewall

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

Related ports

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