Solved Can't connect to Server (Host: Raspbian/Linux)

Discussion in 'Bukkit Help' started by OneGaming36, Jun 21, 2017.

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

    OneGaming36

    Hey guys,

    today I tried to set up a CraftBukkit server on my RaspberryPi (Raspbian Jessie Lite).
    I'm hosting the server using Hamachi.
    There doesn't appear any error when I'm connecting to the server with a computer in the same local network as the server (using Hamachi IP in Minecraft)

    As soon as someone tries to connect to the server through the internet, using the same IP, there occurs an error "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information".
    In the server console there isn't any information about someone trying to login.
    I'm sure Hamachi service is running and it's also logged in.

    How can I fix the problem, so that also people who aren't in the same local network as the server (Raspberry) can connect to it?


    Thank you!
    If you need any more information feel free to ask. ;)
     
  2. Offline

    Zombie_Striker

    @OneGaming36
    From another thread:
    Try just port forwarding your Pi.

    Can you post the full console log?
     
  3. Offline

    OneGaming36

    I unlocked some ports recommended on a few websites (TCP 12975; TCP 32976) and also the port the server is running on (TCP/UDP 25565).
    I also allowed the device to unlock ports itself if needed and set it as "Exposed Host" on IPv4 and IPv6.

    It still doesn't work. :(
     
  4. Offline

    Zombie_Striker

    @OneGaming36
    When you run your server, is the port open?
     
  5. Offline

    OneGaming36

    I guess it's open.
    Is there any way to find out except checking it on my routers "website"?
     
  6. Offline

    Zombie_Striker

  7. Offline

    OneGaming36

    How am I supposed to do this in the console?
    As I said, I'm using "Raspbian Jessie Lite", this means I can only use text-commands.
     
  8. Offline

    Zombie_Striker

    @OneGaming36
    Don't do it on your Pi. Use any computer that can access that website.
     
  9. Offline

    OneGaming36

    There occurs an error. But only for my computers IP.
    I can't put the Pi's IP in because the text field is locked.

    [​IMG]
     
    Last edited: Jun 21, 2017
  10. Offline

    Zombie_Striker

  11. Offline

    OneGaming36

  12. @OneGaming36
    Could you provide a screenshot where you configured the ports to open in your router menu, aswell as tell us what the local IP address of your raspberry pi is?
     
  13. Offline

    OneGaming36

    [​IMG]
    The ports seem to be unlocked. The Pi's local IP is 192.168.178.31.


    [​IMG]
    It's also shown as online in the Hamachi launcher on my computer. (Host)
    My friends and me are all using the same IP to join the server in Minecraft (25.76.145.28).


    There is one thing which might be the reason for my problem.
    When I'm using RMB on "Host" and click on "Diagnosis" there occurs another error:

    Tunnel: (Tunnel: ) OK (OK)

    Lokale Ergebnisse:
    Adapterkonfiguration: OK (OK)
    Datenverkehrstest: OK (OK)
    Peer-Ergebnisse: [214-551-288]
    Adapterkonfiguration: OK (OK)
    Datenverkehrstest: Dieser Peer ist nicht zulässig für Überprüfung per Ferntest (This peer is not eligible for remote testing)

    "This peer is not eligible for remote testing". Might this be the reason?
    But I don't know how to fix the problem. Already tried to find a solution via Google.
     
  14. Offline

    OneGaming36

    Shouldn't he use the Pi's Hamachi IP since the server is running on this IP (I also entered the IP in the server.properties file)
    Is he able to join the server using my computers IP while the server is actually running on the Pi?

    I'm gonna try it.
     
  15. Offline

    Zombie_Striker

    @OneGaming36
    Do not do this. Bukkit automatically detects the IP, and putting the ip in the config normally crashes the server.

    Something I forgot to ask; do you only have one router? If you are, then the Ip that was originally provided at "whitesMyIP" and "canyouseeme.org" is you actual external IP, which is the one you need to use to connect to your server.
     
  16. Offline

    OneGaming36

    It works now. Reason was the dumbest failure you can make. My friend used the wrong IP to join the server in Minecraft. :mad:
    The Hamachi IP is still in the server.properties, I only want people in the Hamachi server to be able to join.

    Thank you anyway, you are doing a great job!
    I'm going to contact you if there is any other problem. ;)
     
Thread Status:
Not open for further replies.

Share This Page