HTTPfy

Port 40841 (cscp)

IANA assigns port 40841 to cscp: CSCP.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
cscp TCP CSCP Michael Dodge -
cscp UDP CSCP Michael Dodge -

Check what is listening on port 40841

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

Test it from outside

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

Block port 40841 in the firewall

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

Related ports

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