HTTPfy

Port 15740 (ptp)

IANA assigns port 15740 to ptp: Picture Transfer Protocol.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
ptp TCP Picture Transfer Protocol
Defined TXT keys: guid=<Device guid>
Petronel Bigioi -
ptp UDP Picture Transfer Protocol
Defined TXT keys: guid=<Device guid>
Petronel Bigioi -

Registry dates for this port: registered 2004-11.

Check what is listening on port 15740

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

Test it from outside

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

Block port 15740 in the firewall

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

Related ports

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