Skip to content
RU

Port 25565: Minecraft Java Edition server

Compact home server with a blue light beside a monitor showing a blurred console
Key idea:

Port 25565 (TCP) is the standard for Minecraft Java Edition server. Port 25565 — default for Minecraft Java Edition dedicated servers. Bedrock Edition uses UDP 19132. Popular DDoS target among server listings (minecraft-mp.com). Log4Shell CVE-202

Below: what uses this port, security considerations, online check, FAQ.

Check your host & ports →

What runs on this port

Minecraft Java Edition server

Port 25565 — default for Minecraft Java Edition dedicated servers. Bedrock Edition uses UDP 19132. Popular DDoS target among server listings (minecraft-mp.com). Log4Shell CVE-2021-44228 massively exploited Minecraft servers in 2021.

Security considerations

Log4Shell (CVE-2021-44228) is old but patching Log4j to 2.17+ is mandatory. Anti-DDoS: Cloudflare Spectrum for TCP proxy. Whitelist + anti-cheat plugins (like ServerGuard).

Check this port online

Check port online →

Enterno.io Ping + Port checker tests TCP reachability of any port from our server in Moscow.

Understanding Port 25565 and Its Role in Minecraft Java Edition

Port 25565 (TCP) is the default communication port for Minecraft Java Edition dedicated servers. When a player connects to a server, their client communicates with the server over this port, which handles game data transmission. Understanding this port's functionality is crucial for server administrators and players alike.

When setting up a Minecraft server, port 25565 must be properly configured in the server properties file. This file, typically named server.properties, contains essential settings that dictate server behavior. By default, the server listens on this port, but it can be changed if necessary. However, it is recommended to stick with the default unless you have a specific reason to modify it.

In addition to being a communication channel, port 25565 is also a common target for DDoS attacks, especially among popular servers listed on sites like minecraft-mp.com. Server owners should implement security measures, such as DDoS protection and firewall rules, to mitigate these risks.

Configuring Firewall Settings for Port 25565

To ensure that your Minecraft server is accessible to players, you must configure your firewall settings to allow traffic through port 25565 (TCP). Below are practical steps for configuring firewall rules on both Windows and Linux systems.

  • Windows Firewall:
  • Open the Control Panel and navigate to System and Security > Windows Defender Firewall.
  • Select Advanced settings on the left sidebar.
  • Click on Inbound Rules, then select New Rule....
  • Choose Port and click Next.
  • Select TCP and specify 25565 in the Specific local ports field. Click Next.
  • Select Allow the connection and proceed through the wizard to name the rule.
  • Linux iptables:
  • Open a terminal and run the following command to allow traffic through port 25565:
  • sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
  • To save the iptables configuration, use:
  • sudo iptables-save | sudo tee /etc/iptables/rules.v4

After configuring your firewall, it is advisable to test the port using online tools such as YouGetSignal to ensure it is open and reachable from the internet.

Common Issues with Port 25565 and Troubleshooting Tips

Even with proper configuration, users may encounter issues when attempting to connect to a Minecraft server using port 25565. Here are some common problems and troubleshooting tips:

  • Server Not Responding: Ensure that the server is running and listening on port 25565. Check the server logs for any errors that may indicate issues on startup.
  • Firewall Blocks: Confirm that your firewall rules allow incoming connections on port 25565. Refer to the previous section for configuration details.
  • Router Configuration: If you're hosting the server on a local machine, ensure that port forwarding is correctly set up on your router. Forward TCP traffic on port 25565 to the local IP address of your server.
  • Dynamic IP Issues: If your ISP assigns a dynamic IP address, consider using a dynamic DNS service to avoid connection issues when your IP changes.
  • Player Connection Problems: Ensure that players are using the correct IP address and port number to connect. They should enter your-ip-address:25565 in the Minecraft client.

By following these troubleshooting steps, server administrators can quickly diagnose and resolve common issues related to port 25565, ensuring a smooth gaming experience for all players.

Learn more

Sources

Frequently Asked Questions

Is port 25565 open by default?

No, modern cloud providers close all incoming ports by default. Explicitly allow 25565 in your Security Group or firewall.

How to check if port 25565 is reachable?

Use Enterno Ping + Port Checker. Or in shell: nc -vz example.com 25565.

Is port 25565 safe to expose?

Depends on the service. Minecraft Java Edition server should be hardened (auth + TLS + rate limit) before public exposure. See our 2026 exposure research.

Try the live tool that powered this guide

Free plan — 10 monitors, checks every 5 min, no card required. Upgrade for 1-minute interval and multi-region monitoring.