java.net.ConnectException: connection timed out: no further information

Discussion in 'General Help' started by KilboxNoUltra, Aug 18, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    KilboxNoUltra

    I can connect to my server using "localhost", but not my IP. Upon the try in 30 secs it gives me "java.net.ConnectException: connection timed out: no further information". I have read a lot on forums and it seems like it's a port forwarding problem. Now, I checked my port forward 7 times and everything seems to be in order. I also made a rule exception for 25565 in Windows Firewall, and yet no results. I can give you all the information if you request any (except for IP of course)
     
  2. Offline

    LandonTheGeek

    Is anything filled in in the server.properties for the IP Address?
     
  3. Offline

    oceantheskatr

    If you're trying to connect to your external IP on Minecraft on the same machine as the server, it's flat out not going to work. You're supposed to join with localhost :)
     
  4. Offline

    KilboxNoUltra

    No.

    Are you sure? Because I do remember myself doing that a year ago!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 11, 2016
  5. Offline

    Tecno_Wizard

    Downright incorrect.

    You can, without any issues whatsoever, use an external IP, even if you are using the external IP of the computer you're playing on. If it doesn't work, your port forwarding flat out not going to work. Lol.

    @KilboxNoUltra, Use this. http://www.canyouseeme.org/
    Put your external IP and port num in. If it works, your port forwarding works. If it doesn't... do I even have to say it?
     
  6. Offline

    oceantheskatr

    I just tried using my external IP to connect to the server I'm running on my computer, and it says "Can't connect to server." I'm correctly port-forwarded and my server works fine. I'm not sure if maybe there's something else that isn't set up right, but I do know for a fact that other people that aren't on my network are still able to join. I only said the following based on personal experience and what I believed was correct.
     
  7. Offline

    Tecno_Wizard

    @oceantheskatr, that's... odd to say the least. Do you have antivirus software running?
     
  8. Offline

    oceantheskatr

    Nope, and firewalls are off :eek:
     
  9. Offline

    Tecno_Wizard

    @oceantheskatr, that's really strange. I've used the external IP for years on my plugin testing server (local) without any issues WITH antivirus (Norton).
    Offtopic and quick: Avast for android patches stage fright.
     
  10. Offline

    oceantheskatr

    @Tecno_Wizard Hmm, that is weird :p I've only ever used localhost or 0.
     
  11. Offline

    KilboxNoUltra

    It cannot see my port on my IP address. Hmm, are there any other steps besides having my Ivp4 address assigned to 25565 in router properties, and having 25565 port specified in server.properties? People on spigot forums suggested that I also put my external IP in the server.properties as well, but I do remember that I did not need that one year ago.
    @Tecno_Wizard
     
  12. Offline

    Tecno_Wizard

    @KilboxNoUltra, personally, putting your external IP in that file just makes things break. You shouldn't have to do anything except for port forward 25565 from your router to your computer's IP4
     
  13. -snip-

    Did you at least try to set the ip in server.properties?
     
  14. Offline

    oceantheskatr

    I believe you should leave it blank, as the server will automatically put in the correct one for you, or am I wrong?
     
  15. I have no idea, but once on guessing i would at least try it once :), especially if the server does not fill it in (...).
     
    oceantheskatr likes this.
  16. Offline

    KilboxNoUltra

    This creates an exception
    **** FAILED TO BIND TO PORT!
    The exception was: java.net.BindException: Cannot assign requested address: bind

    This usually happens when people don't stop the server but just close the cmd window instead, that is not the case here.
     
  17. Oh right: http://wiki.bukkit.org/Setting_up_a_server

    "Note: Unless you have a multi-homed machine and know what this means/requires, server-ip= in server.properties MUST remain unchanged from default and be blank."
     
Thread Status:
Not open for further replies.

Share This Page