1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Cant connect to server.

Discussion in 'Help' started by TheShinPin, Jun 7, 2018.

  1. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    So Im setting up a server on a vps, here are the commands ive done
    firewall-cmd --zone=dmz --add-port=19132/tcp --permanent
    then reloaded firewall with firewall-cmd --reload
    rebooted the server, ran start.sh, and the server is up, but i cant connect.
    OS is CentOS 7 x64
    Command to install pocketmine: wget -q -O - https://get.pmmp.io/ | bash -s -
    Any solutions?
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What error do you get in game when you try to connect? Is your PocketMine version up-to-date?
     
  3. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    "Unable to connect to world" Yes Pocketmine is up-to-date.

    UPDATE:
    now when i try to start the server, here is what happens
    PHP:
    [02:27:29] [Server thread/INFO]: Opening server on 0.0.0.0:19132
    [02:27:29] [Server thread/INFO]: This server is running PocketMine-MP version 1.7dev-1132 "[REDACTED]" (API 3.0.0-ALPHA12)
    [
    02:27:29] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
    [02:27:30] [Server thread/INFO]: Loading resource packs...
    [
    02:27:30] [Server thread/INFO]: Preparing level "hub"
    [02:27:30] [Server thread/INFO]: Starting GS4 status listener
    [02:27:30] [Server thread/INFO]: Setting query port to 19132
    [02:27:30] [Server thread/INFO]: Query running on 0.0.0.0:19132
    [02:27:30] [Server thread/INFO]: Default game typeSurvival Mode
    [02:27:30] [Server thread/INFO]: Done (0.422s)! For helptype "help" or "?"
    [02:27:30] [RakLibServer thread/CRITICAL]: RuntimeException"Failed to bind to 0.0.0.0 19132: Address already in use" (EXCEPTIONin "vendor/pocketmine/raklib/server/UDPServerSocket" at line 42
    [02:27:30] [RakLibServer thread/DEBUG]: #0 vendor/pocketmine/raklib/server/RakLibServer(236): raklib\server\UDPServerSocket->__construct(raklib\utils\InternetAddress object)
    [02:27:30] [RakLibServer thread/DEBUG]: #1 (): raklib\server\RakLibServer->run()
    [02:27:30] [Server thread/EMERGENCY]: RakLib crashed!
    [
    02:27:30] [Server thread/CRITICAL]: [NetworkStopped interface pocketmine\network\mcpe\RakLibInterface due to RakLib Thread crashed
     
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    That means that there's probably another server running in the background, a reason for that could be that you exited the SSH session without stopping the server before, reboot your PC and it'll probably go away
     
    EdwardHamHam likes this.
  5. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    Worked but i still cant connect to the server.
     
  6. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Did you reboot your VPS too?
     
  7. SalmonDE

    SalmonDE Zombie Pigman

    Messages:
    739
    GitHub:
    SalmonDE
    --add-port=19132/tcp? Afaik PocketMine <-> Minecraft needs UDP.
     
    EdwardHamHam likes this.
  8. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    Is the command firewall-cmd --zone=dmz --add-port=19132/udp --permanent???
     
  9. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    yep.
     
  10. TheShinPin

    TheShinPin Baby Zombie

    Messages:
    121
    no help :( vry sad
     
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Did you already execute the command you mentioned there?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.