HTTPfy

Port 313 (magenta-logic)

IANA assigns port 313 to magenta-logic: Magenta Logic.

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

IANA assignment

Service nameProtoDescriptionAssigneeReference
magenta-logic TCP Magenta Logic Karl Rousseau -
magenta-logic UDP Magenta Logic Karl Rousseau -

Check what is listening on port 313

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

Test it from outside

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

Block port 313 in the firewall

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

Related ports

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