1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Help With Lilypad from home to 24/7 server

Discussion in 'Support' started by Roodoff, Jun 24, 2013.

  1. Roodoff

    Roodoff Member

    hey so im currently having trouble with connecting my server on my laptop to my 24/7 server.

    heres my setup:

    i have the lilypad standalone allinone on my laptop (run that)
    and my "Hub" on my laptop
    and my "mini-games" 24/7
    i can connect with password fine but just not the ip

    on the lilypad connect i have the ip set to my home ip and 25565 port and the allinone ip to my home ip and 25565 port aswell as my hub connected to this but it just wont work help me out plz.

    Also EDIT:
    when i run my lillypad allinone thing i get this error:
    Code (text):
    C:\Users\GEORGE\Desktop\lillypad>java -XX:+UseParNewGC -Xms512M -Xmx2G -jar Server-Standalone-AllInOne.jar
    [LilyPad] build 35 of AllInOne
    [LilyPad] fatal error: services
    java.net.BindException: Cannot assign requested address: bind
            at sun.nio.ch.Net.bind0(Native Method)
            at sun.nio.ch.Net.bind(Unknown Source)
            at sun.nio.ch.Net.bind(Unknown Source)
            at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
            at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
            at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:101)
            at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:511)
            at io.netty.channel.DefaultChannelPipeline$HeadHandler.bind(DefaultChannelPipeline.java:1006)
            at io.netty.channel.DefaultChannelHandlerContext.invokeBind0(DefaultChannelHandlerContext.java:509)
            at io.netty.channel.DefaultChannelHandlerContext.invokeBind(DefaultChannelHandlerContext.java:495)
            at io.netty.channel.DefaultChannelHandlerContext.bind(DefaultChannelHandlerContext.java:489)
            at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:847)
            at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:256)
            at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:335)
            at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:365)
            at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
            at java.lang.Thread.run(Unknown Source)
    heres my config:
    Code (text):
    {
      "proxy": {
        "bind": {
          "address": "censored(home ip)",
          "port": 25565
        },
        "outbound": {
          "address": "censored(home ip)"
        },
        "servers": [
          {
            "domain": "*",
            "server": "hub"
          }
        ],
        "motd": "Hub",
        "playerMaximum": 69,
        "authenticate": true,
        "throttle": 2500,
        "tabEnabled": true,
        "localeFull": "You seem to be already logged in",
        "localeOffline": "\u0026bCloud \u0026aUnder Construction ",
        "localeLoggedIn": "You have logged in from another location",
        "localeLostConn": "Lost connection... Please try to reconnect",
        "localeShutdown": "The server is being restarted. Please try to reconnect"
      },
      "queryTcp": {
        "bind": {
          "address": "censored(home ip)",
          "port": 5555
        }
      },
      "queryUdp": {
        "bind": {
          "address": "censored(home ip)",
          "port": 25565
        }
      },
      "connect": {
        "bind": {
          "address": "censored(home ip)",
          "port": 25565
        },
        "logins": [
          {
            "username": "hub",
            "password": "test"
          },
          {
            "username": "mini-games",
            "password": "test"
          }
        ]
      }
    }
    hope someone can help asap also i have skype just pm me.
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Set the address to 0.0.0.0.
  3. Roodoff

    Roodoff Member


    Sorry what address? theres a few i changed everything back to default but not the logins. Now im getting this on my laptop and 24/7 server:

    Code (text):
    2013-06-24 14:34:02 [INFO] [Connect] Connection timed out while keying, retrying
    2013-06-24 14:34:06 [INFO] [Connect] Connection timed out while keying, retrying
    2013-06-24 14:34:09 [INFO] [Connect] Connection timed out while keying, retrying
    2013-06-24 14:34:13 [INFO] [Connect] Connection timed out while keying, retrying
  4. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    What is the configuration of your Connect plugin?
  5. Roodoff

    Roodoff Member

    Code (text):
    settings:
      address: **.102.***.156 (this is my ip)
      port: 25565
      credentials:
        username: hub
        password: ***********
  6. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    The port should be 5091.

    This brings me to another point. Your connect port in your allinone.conf should also be 5091.
  7. Roodoff

    Roodoff Member

    i have done this now but i get this error:
    Code (text):
    [INFO] [Connect] Couldn't connect to remote host: "Connection timed out: no further information: /77.102.180.156:5091", retrying
  8. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    In the connect plugin's config, set IP to localhost.
  9. Roodoff

    Roodoff Member

    i have ive set all ip to localhost but the server on the hosting website to my ip and 5091 port? also can you add me on skype so we dont have this ongoing chat? if so my skype is georgeross.fifaboss
  10. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    You did things that I didn't tell you to do... Go back to your original configuration (that you posted) and do exactly as I told you to do.
  11. Roodoff

    Roodoff Member

    sorry i ment that i have done that but everything is fine just two problems my server (on my laptop) is connected to the cloud correctly but when i try to connect to it it just says that its offline, in other words not connected.Also when i connect my hosted server i get this message
    Code (text):
    2013-06-25 13:37:07 [INFO] [Connect] Couldn't connect to remote host: "connection timed out: /77.102.180.156:5091", retrying
    :'(
  12. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Please post your two configs again.
  13. Roodoff

    Roodoff Member

    ok so here:
    These are all the configs i have
    allinone.conf:
    Code (text):
    {
      "proxy": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        },
        "outbound": {
          "address": "0.0.0.0"
        },
        "servers": [
          {
            "domain": "*",
            "server": "example"
          }
        ],
        "motd": "\u00265\u0026lHub",
        "playerMaximum": 69,
        "authenticate": true,
        "throttle": 2500,
        "tabEnabled": true,
        "localeFull": "You seem to be already logged in",
        "localeOffline": "\u0026bCloud \u0026aUnder Maitenance",
        "localeLoggedIn": "You have logged in from another location",
        "localeLostConn": "Lost connection... Please try to reconnect",
        "localeShutdown": "The server is being restarted. Please try to reconnect"
      },
      "queryTcp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5555
        }
      },
      "queryUdp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        }
      },
      "connect": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5091
        },
        "logins": [
          {
            "username": "hub",
            "password": "test"
          },
          {
            "username": "mini-games",
            "password": "test"
          }
        ]
      }
    }
    Hosted Server:
    Code (text):
    settings:
      address: 77.102.180.156
      port: 25565
      credentials:
        username: mini-games
        password: test
    Server run via laptop:
    Code (text):
    settings:
      address: 77.102.180.156
      port: 25565
      credentials:
        username: mini-games
        password: test
  14. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    You need to forward the port 5091. In your connect configs, the port also needs to be 5091 instead of 25565.
  15. Roodoff

    Roodoff Member

    Thanks but im now having a trouble that when i start my hub it still says the offline but its connected to the cloud?

    I think the problem is i also get an error saying "Error: Authentication to lilypad failed
  16. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    One of your servers needs to have the credentials hub, and the other needs to be mini-games.

    In your configs, both are mini-games.
  17. Roodoff

    Roodoff Member


    yeah i found this out as it was set as example idk how that changed but anyway thanks for your time and patients i wish i could donate but donte have paypal any other way i can repay you?
  18. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    No need to repay me.
  19. Roodoff

    Roodoff Member

    ok thanks and one thing permissions what are the nodes?
  20. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    There are no permissions in LilyPad itself. As for the plugins, you can find the permissions on their plugin page: http://www.lilypadmc.org/resources/

Share This Page