Quick Summary
The "java.net.ConnectException: Connection refused: no further information" error in Minecraft indicates that your computer is unable to establish a connection with the server you are trying to join. This typically occurs because the server isn't running, is unreachable, or is blocking your connection.
Common Causes
- Server is Offline or Unreachable: The Minecraft server you're trying to connect to might be offline, experiencing technical difficulties, or undergoing maintenance. It could also be that the server's IP address or port number has changed, making it unreachable with your current configuration.
- Firewall Blocking Connection: Your computer's firewall or network firewall might be blocking Minecraft's access to the internet or specifically blocking connections to the server's IP address and port. Firewalls are designed to protect your computer, but sometimes they can inadvertently block legitimate connections.
- Incorrect Server Address: An incorrect server IP address or port number is a common cause. Even a small typo can prevent you from connecting to the intended server. This is especially true if you're manually entering the server details.
- Server is Full or Has Reached Max Players: The server may be online and accessible, but it may have reached its maximum player capacity. In this case, the server will refuse new connections until a player disconnects.
- Local Network Issues: Problems with your local network configuration or internet connection can prevent you from connecting to the server. This includes issues with your router, modem, or internet service provider (ISP).
- Conflicting Software: Certain security software or VPNs can interfere with Minecraft's ability to connect. Antivirus programs, firewalls (in addition to the system firewall), and VPNs may block connections to the server.
Step-by-Step Fixes
Method 1: Verify Server Status and Address Show Steps ↓
Step 1: Confirm the server is online and running. Ask other players or check the server's website/Discord for status updates.
Step 2: Double-check that you have the correct server IP address and port number. Obtain this information from the server administrator or the server's official source.
Step 3: Ensure the IP address and Port number are typed in correctly on the Minecraft server connection screen. Pay close attention to periods and colons. Try re-entering the address to be sure.
Method 2: Check Your Firewall Settings Show Steps ↓
Step 1: Allow Minecraft through your Windows Firewall (or equivalent firewall on your operating system). Search for "Windows Defender Firewall" in the start menu, click "Allow an app or feature through Windows Defender Firewall", and make sure both "javaw.exe" and "Minecraft Launcher" are checked for both Private and Public networks.
Step 2: If you are using a third-party firewall, check its settings to ensure that Minecraft or Java isn't being blocked.
Method 3: Restart Your Router and Modem Show Steps ↓
Step 1: Power cycle your modem and router. Unplug them from the power outlet, wait 30 seconds, and then plug the modem back in. Wait for the modem to fully power on, and then plug the router back in.
Step 2: Wait for the router to fully power on and then check if you can connect to the Minecraft server.
Method 4: Disable Conflicting Software (VPNs, Antivirus) Show Steps ↓
Step 1: Temporarily disable any VPN software you are using.
Step 2: Temporarily disable your antivirus software. Note that disabling antivirus protection may expose your system to security risks. Only disable it temporarily for troubleshooting purposes.
Step 3: Try connecting to the server again after disabling these programs. If it works, then one of these programs was interfering with the connection.
Method 5: Check Your Internet Connection Show Steps ↓
Step 1: Ensure that you have a stable internet connection. Test your connection by browsing the web or running a speed test.
Step 2: If your internet connection is unstable, contact your internet service provider.
Method 6: Flush Your DNS Show Steps ↓
Step 1: Open the Command Prompt (Windows) as an administrator. On macOS, open Terminal.
Step 2: Type ipconfig /flushdns (Windows) or sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder (macOS), and press Enter.
Step 3: Restart your computer and try connecting to the server again. This clears cached DNS data that may be outdated or corrupt.