Connecting By Domain Name Error

Discussion in 'Bukkit Help' started by nickkeane, May 13, 2011.

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

    nickkeane

    I'm running the 740 (Now 766) build of craftbukkit on my computer, which runs Windows 7 64-bit. Java version is 1.6.0_21. My ethernet wires into a linksys router which has been configured to have open ports from 7000-7010 for MySQL processes (I only use one though) and 8000-8010 for various Minecraft server instances, and those ports are forwarded to 192.168.1.100, which is the DHCP reservation for my computer. I use DynDNS with their DNS Updater to keep my dynamic IP address up to date with the domain name I've registered for the server. I have installed 4 servers: a vanilla minecraft server, a Canary server, a craftbukkit server with some plugins, and a craftbukkit server that is a clean build with no plugins.

    So, my problem is that I can connect to all 4 server instances using 192.168.1.100 or localhost and the correct port, but I cannot connect to the two craftbukkit server instances via the domain name with port. The Canary server and the vanilla server do allow a connection via the domain name. Server side, the craftbukkit console says that I "logged in with entity id N", but my Minecraft client says "Logging in..." for 30 seconds or so, and then says "Connection Lost. Internal Exception: java.net.SocketTimeoutException: Read timed out". After this happens, the server console says "Read timed out" and "My username lost connection: disconnect.endOfStream".

    Any ideas as to why this is happening? I don't think it's a port issue because the Canary and vanilla servers connect just fine. Does Bukkit simply not allow the host computer's client to specify the domain name and port as the method of connection? If not, I don't think that anyone can connect to the craftbukkit servers.
     
  2. Offline

    nickkeane

    Does anyone know what could be causing this?
    I got a friend to try to connect to the server, but he couldn't connect either.
     
  3. Offline

    TBK

    No that isn't the case. Because I don't have that problem.
    You should upgrade CraftBukkit to 766.
    Have you tried another port range (near the defaut one of TCP 25565)?
     
  4. Offline

    nickkeane

    I did upgrade to 766 and it doesn't work.

    Why would changing the ports do anything? My vanilla server seems to connect perfectly on all my 8000 to 8010 port settings. Maybe bukkit just uses that higher range? I'll give it a try.

    @TBK
    Nope. Opened ports 25560-25570 and used 25565, but I get the same problem.
    I don't think it's a port issue, because Canary and Vanilla servers both work.

    I got my brother to install Bukkit on his laptop, and it works using the same internet and router connection (his is wireless vs. mine is wired). However, we can't use his laptop for long-term server hosting so I'm stuck with this computer :/, which still doesn't work.

    Whatever the problem is, it's not a connection or router problem. I don't have any firewalls installed that could be blocking incoming/outgoing traffic. Does CraftBukkit depend on any other libraries besides the Java runtime, the Minecraft Server, and possibly the Minecraft Client? Something that could potentially be out of date?

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

    TBK

    Oi you are on and old Java version 1.6.0_21, newest is 1.6.0_25. Many say thay get better performance with the beta build of Java 7, so you could try the x64 version (I'm also using it) -http://download.java.net/jdk7/
    I might also solve your issue.
    For the bat file:
    Code:
    @ECHO OFF
    "C:\Program Files\Java\jdk1.7.0\jre\bin\java.exe" -server -Xmx4096m -Xms2048m -jar craftbukkit.jar
    PAUSE
     
  6. Offline

    nickkeane

    I updated the JRE to 6 update 25, but I'll check on the 32-bit and 64-bit JDKs and get back with the results.

    Gave the Java SDK 7 a spin but I still can't connect to the server. The server gets a packet and then the client just stalls out trying to log in

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  7. Offline

    TBK

  8. Offline

    nickkeane

    @TBK
    The client was force-updated to latest, but that did nothing. My bother uses the exact same network - same router, same FiOS connection. The only difference is that my computer is wired into the router while his uses a wireless connection.

    I did a clean install of Windows 7 64-bit on my computer with Windows Firewall & Defender disabled and nothing but Craftbukkit 766, the latest minecraft client, and the latest version of Java 6 (both 32-bit and 64-bit JDKs) installed and I still get the same problem. All the right ports are open and forwarded correctly, and I can connect to the server locally using my local ip and the port, but not through the internet or via any other computer in my LAN. And its just for when I host on this computer - my brother's laptop and my macbook can host and receive connections successfully no matter what method I use. They just don't have enough memory to run a bukkit server efficiently.

    I got an exception in the server this time around, though.
     
  9. Offline

    TBK

    If you check the Git, then there are some pull requests regarding packages Packets.
    it seens like you have said a couple of time to be a problem with Craftbukkit.
     
Thread Status:
Not open for further replies.

Share This Page