Minecraft Connection Refused Error: How to Fix It
Medium 15-45 minutes Medium Severity
Verified June 2026
- Error Code
- Connection refused
- Brand
- Minecraft
- Product Type
- game
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 15-45 minutes
Ad
Tools You'll Need
- Minecraft Launcher (Java or Bedrock Edition)
- Web browser (to check server status)
- Windows Command Prompt (for DNS and network reset commands)
- Router admin panel access (for port forwarding)
- Optional: VPN application (for network diagnostics)
How to Fix Error Code Connection refused
-
Verify the Server Is Actually Online
-
Double-Check the Server Address and Port
-
Restart Your Router and Modem
-
Check Windows Firewall and Antivirus Settings
Only add Minecraft as an exception to your firewall or antivirus. Do not disable your firewall entirely, as this exposes your system to security risks. -
Flush DNS Cache and Reset Network Stack
-
Try Connecting With a VPN or Different Network
-
If You Own the Server: Check Server Configuration and Port Forwarding
Opening ports on your router exposes that port to the internet. Only forward the specific port needed and keep your server software up to date to reduce security risks. -
Update Minecraft and Java
Ad
When to Call a Professional
If you have followed all steps and still cannot connect, consider reaching out to the server owner or your hosting provider's support team, as the issue may be on the server infrastructure side. If you suspect your ISP is blocking ports, contact them directly. For managed server hosts such as Apex Hosting, Shockbyte, or Aternos, use their live chat or ticket support. If the problem is isolated to your home network and you are not comfortable accessing router settings, a local IT professional or tech-savvy friend can help configure port forwarding safely.Frequently Asked Questions
Why does Minecraft say 'Connection Refused' when I try to join a server?
This error means your game client attempted to reach the server but the server actively rejected or did not respond to the connection. The most common causes are: the server is offline, the IP address or port is wrong, a firewall is blocking the connection, or the server has whitelisted specific players and you are not on the list.
How do I fix 'Connection Refused' on a Minecraft LAN server?
For LAN servers, make sure all devices are on the same Wi-Fi network. Open the game on the host computer and select 'Open to LAN' from the in-game pause menu. On connecting devices, the server should appear in the Multiplayer menu automatically. If it does not, disable the host computer's Windows Firewall temporarily to test, or add Minecraft as a firewall exception as described in Step 4.
What is the default port for Minecraft Java Edition servers?
The default port for Minecraft Java Edition is 25565 using TCP protocol. If the server uses this default port, you do not need to add the port number to the server address. Minecraft Bedrock Edition uses port 19132 over UDP by default.
Can my ISP block Minecraft server ports?
Yes, some ISPs do restrict certain ports, particularly on residential internet plans. If you can connect to a server via a VPN or mobile hotspot but not on your regular connection, your ISP is likely the cause. Contact your ISP and ask whether port 25565 (or your server's custom port) is blocked on your account. Some ISPs can unblock it on request.
Why can my friend connect to the Minecraft server but I cannot?
If others can join the server but you cannot, the issue is almost certainly on your end rather than the server. Work through the steps in this guide, focusing on your firewall settings (Step 4), DNS cache (Step 5), and testing with a VPN (Step 6). Also check whether you have been banned or are not on the server's whitelist by asking the server administrator.