25565Port
TCPProtocol
—IANA service name
GamesCategory
Port range
25565 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Only open port 25565 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 25565 in a firewall
ufw sudo ufw allow 25565/tcp iptables sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=25565/tcp Windows New-NetFirewallRule -DisplayName "Minecraft 25565" -Direction Inbound -Protocol TCP -LocalPort 25565 -Action Allow
Check if port 25565 is open
nc -vz example.com 25565 Test-NetConnection example.com -Port 25565 # PowerShell sudo ss -tulpn | grep ':25565 ' # what is listening locally (Linux)