HTTPfy

Port 2791 (mtport-regist)

IANA assigns port 2791 to mtport-regist: MT Port Registrator.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
mtport-regist TCP MT Port Registrator Maxim Tseitlin -
mtport-regist UDP MT Port Registrator Maxim Tseitlin -

Check what is listening on port 2791

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

Test it from outside

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

Block port 2791 in the firewall

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

Related ports

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