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

Can not connect to my server.

Discussion in 'Help' started by EerieAlchemist, Jan 24, 2020.

  1. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    So I’ve just finished setting up PocketMine-MP. I was able to run the server in the command prompt, and it says it was connected to the query. However, if I type in my IPs, I’m unable to connect. Maybe this is due to having a PocketMine server already set up on another computer in the house using the same IP. If this is the case, how can I fix this and run a server on the new PC? Thanks for the help.
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Are you joining from the local or from the public ip? Because obviously you can't port-forward two devices to the same port
     
    jasonwynn10 likes this.
  3. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    I think the public IP. Should I go into the router settings and remove the port foreword, then reinstall it?
     
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    (Obviously) it's impossible to two devices to be forwarded to the same port on the same public ip, you either need to remove one of them or choose another port. (Unless you only want to access one of the servers locally, then you of course don't have to forward it at all and can just connect using the device's local ip)
     
    jasonwynn10 likes this.
  5. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    I forwarded through the router’s settings. I don’t believe I forwarded each device.
     
  6. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    You had to choose a device or local ip when configuring the port forward on the router.
     
  7. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    I believe I chose a local IP. So should I just remove the previous one and create a new one under the local IP?
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
     
  9. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    Still having issues connecting. Maybe I'm using the wrong IP? Which one (ipv4/ipv6) should I use to connect locally?
     
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    IPv4, Minecraft doesn't support IPv6. What method are you using to obtain the other device's local IP?
     
  11. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    Just using ipconfig in the command prompt. It gets the IP of my router. Still, no matter how many times I type this in, nothing works. Maybe I should remove the PocketMine set up on my other computer?

    I removed the previous port forward, gonna forward again with the IPv4. Still no luck, starting to become frustrating.

    Just came to my mind: I was using ethernet on my old computer, whereas now I'm using a wireless antennae, which gives me a different IPv4. Tried that, but no luck. Maybe I have the wrong port? I tried the default (19132) which should have worked, but to no avail.

    The strange part is, I can still interact with and type commands in the console. Not sure on this one...
     
    Last edited: Jan 26, 2020
  12. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    You should join using the IP address of the other PC, not using the router's IP.

    First you need to get it to work so you can join locally, only then you should start to even think about port forwarding.

    PocketMine by default uses the default port 19132.

    wtf is your last paragraph supposed to mean?
     
    EdwardHamHam likes this.
  13. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    In the last paragraph, I was just trying to say that the server is online, I just can't find a way to connect to it.

    Anyways, I turned the server on with my new PC, tried to connect with the IP of the old PC, and nothing. Tried again with the IP of the new PC, nothing. However, I turned on my old PocketMine server on the old PC and successfully connected from both PCs. The thing is, when I activate the server on the new PC, it doesn't even show up as a LAN game.
     
  14. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    It not showing up in lan game on the same pc the server runs on is normal (see this docs entry).

    It sounds like your firewall is blocking it. See: https://pmmp.readthedocs.io/en/rtfd/faq/connecting/openports.html
     
    EdwardHamHam likes this.
  15. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    Thanks for the help, I finally got it to work! Just a few issues...

    1) The MOTD doesn't show up, just says locating server in external tab... probably because I need to port forward again, right?
    2) Whenever I try to join from another device, it appears in the friends tab, but when I try to join, it says to connect to Wi-Fi, even though I am connected to the same network.

    Thank you so much for the support!
     
  16. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Wrong. That's just Minecraft being broken. Common issue :rolleyes:
     
    HimbeersaftLP likes this.
  17. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    Awesome guys, thanks for the help!
     
  18. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No problem. Out of curiosity, what did you do that fixed the problem? Was it the firewall?
     
    jasonwynn10 likes this.
  19. EerieAlchemist

    EerieAlchemist Spider Jockey

    Messages:
    36
    Yes, I realized that I had never checked the boxes off. Redid it, and everything worked.
     
    HimbeersaftLP likes this.
  20. cesarmargarito

    cesarmargarito Creeper

    Messages:
    1
    GitHub:
    cesarmargarito
    I think minecraft does support ipv6, im able to host a bedrock server and can connect to it using an ipv6 IP, but i havent being able to do it with the PocketMine version yet.
     
    EdwardHamHam and HimbeersaftLP like this.
  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.