Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed]

Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed] - Open grey metal soda can

Java Server

I am hosting a minecraft server and I am able to connect to it using (localhost) but I can not connect to it publicly by using my public IP even though the 25565 port is forwarded, the minecraft server and javaaw is allowed through the firewall, I get the error io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information (MY PUBLIC IP)"

Edit: figured out how to fix this, see answer

Bedrock Server

I have the exact same problem when trying to host a bedrock server (can't connect to server). once again I am able to connect locally using (192.168.1.2) the 19132 port is also open

Update: I found out through some research that it relies on Xbox thing and going into settings, gaming, Xbox networking, my nat says teredo is unable to qualify and server connectivity says blocked, I have not been able to fix this despite microsoft's help

- Very interestingly, people were able to join my server when I was running the android version through an emulator and using adb (adb connect localhost:5555) info on which here and here if you are curious

I have spent countless hours on trying to figure this out but at this point I am stuck, please help, thank you


Best Answer

I figured it out for java, you need to put in your local ip address in the server.properties text file in ip address, so like (192.168.1.2) I do not know why this is but this allows people to connect to your public IP, to join your own server however you need to type in your local IP

So to join on your machine, use local ip, for someone to join you, give them your external ip




Pictures about "Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed]"

Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed] - Top view contemporary mobile phone with opened website on screen placed on wooden table
Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed] - Modern cellphone in transparent cover with closeup of charging input and mobile phone white charger cable usb connector on wooden table
Can't connect to my Minecraft java or bedrock servers despite open ports but can connect locally [closed] - Laptop with usb multiplier and memory card



How do I fix failed to connect to Minecraft server Java?

About This Article
  • Check your internet connection status.
  • Refresh the server list.
  • Close Minecraft and reopen it.
  • Restart your modem or router.
  • Check the status of your game console's online service.
  • Check your firewall settings.
  • Wait a while and try to connect again.
  • Contact your network administrator.


  • Can Java and bedrock play together on servers?

    Crossplay is important if you want to play online with friends. While both versions support online multiplayer, they use different servers. This means that Java and Bedrock players can't play together \u2013 so make sure to ask your friends which version they have.

    Why is my port forwarding not working for Minecraft?

    If the issue \u201cMinecraft Port Forwarding not working\u201d appears again, it is time to check whether you are using a private IP address by running the ipconfig command via Command Prompt. If you are using the default gateway then you need to switch to the private IP address.



    Can - Mother Sky (1970) [HQ]




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Karolina Grabowska, Alif Sagor, Karolina Grabowska, Karolina Grabowska