CyberHunter
// Gaming

Port 5687: GOG multiplayer game protocol

Port 5687 is assigned by IANA to gog-multiplayer (GOG multiplayer game protocol).

5687

How gog-multiplayer works

Gaming
playergame serverposition, input, state × 60 / s playerserver60 updates / s

The game client and server exchange small updates many times per second over port 5687.

Transport
UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
Category
Gaming
01 Security

Is port 5687 dangerous?

We have no specific security note for port 5687. Its risk depends on the program actually listening on it. General advice for gaming services:

  • Keep game servers and their plugins updated.
  • Rate-limit queries to limit DDoS amplification.
  • Run game servers under an unprivileged account.
02 Registry

IANA registry entries for port 5687

ServicePortTransportDescriptionReferenceUpdated
gog-multiplayer 5687 UDP GOG multiplayer game protocol - 2014-10-09
-5687-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 5687, and is it reachable?

Linux

sudo ss -ltnup 'sport = :5687'      # process listening on 5687
sudo lsof -nP -i :5687

macOS

sudo lsof -nP -i :5687

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 5687 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 5687
netstat -ano | findstr :5687

From another machine

nmap -p 5687 -sV <host>
sudo nmap -sU -p 5687 <host>
nc -zv <host> 5687

Block it in the firewall

sudo ufw deny 5687/udp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 5687" -Direction Inbound -LocalPort 5687 -Protocol UDP -Action Block  # Windows
04 FAQ
What is port 5687 used for?

Port 5687 is assigned by IANA to gog-multiplayer (GOG multiplayer game protocol).

Is port 5687 TCP or UDP?

Port 5687 is registered for UDP.

Is it safe to open port 5687?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Keep game servers and their plugins updated.

How do I check if port 5687 is open?

On Linux run "ss -ltnup 'sport = :5687'", on macOS "lsof -nP -i :5687", and on Windows "netstat -ano | findstr :5687" to see the local process. From another machine, "nmap -p 5687 <host>" shows whether it is reachable.

05 Related