HTTPfy

Port 2542 (udrawgraph)

IANA assigns port 2542 to udrawgraph: uDraw(Graph).

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
udrawgraph TCP uDraw(Graph) Bremen -
udrawgraph UDP uDraw(Graph) Bremen -

Check what is listening on port 2542

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

Test it from outside

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

Block port 2542 in the firewall

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

Related ports

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