Port 25565: Minecraft
TCP 25565 is the port for Minecraft: Java Edition server. Designed to be exposed. Forward TCP 25565 on your router to the server's local IP.
| Service | Minecraft: Java Edition server |
|---|---|
| Protocol | TCP |
| Exposure risk | Low: normally safe to expose |
| Range | Registered (1024–49151) |
What port 25565 does
The default port for Minecraft Java Edition servers. Bedrock Edition uses UDP 19132 instead, which a TCP check can't test.
Should port 25565 be open?
Designed to be exposed. Forward TCP 25565 on your router to the server's local IP.
Find what's listening on port 25565
- Linux:
sudo ss -tulpn | grep :25565 - macOS:
sudo lsof -nP -i :25565 - Windows:
netstat -ano | findstr :25565, then look up the PID in Task Manager.
Open or block it in a firewall
- ufw:
sudo ufw allow 25565/tcp(ordeny) - firewalld:
sudo firewall-cmd --add-port=25565/tcp --permanent && sudo firewall-cmd --reload - Windows:
New-NetFirewallRule -DisplayName "Port 25565" -Direction Inbound -Protocol TCP -LocalPort 25565 -Action Allow
Port assignment per the IANA Service Name and Transport Protocol Port Number Registry. Test several ports at once with the port scanner, or any port with the open port checker.
Questions about port 25565
What is port 25565 used for?
Minecraft: Java Edition server. The default port for Minecraft Java Edition servers. Bedrock Edition uses UDP 19132 instead, which a TCP check can't test.
Is port 25565 TCP or UDP?
TCP. Minecraft uses TCP port 25565.
Is it safe to open port 25565?
Low: normally safe to expose. Designed to be exposed. Forward TCP 25565 on your router to the server's local IP.
How do I check if port 25565 is open?
Use the checker on this page: it connects to your host on TCP 25565 from the internet. Locally, run
nc -vz host 25565 (macOS/Linux) or Test-NetConnection host -Port 25565 (PowerShell). To see what is listening on your own machine, run ss -tulpn | grep :25565 (Linux) or netstat -ano | findstr :25565 (Windows).