Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Minecraft
  3. Bedrock server not opening any ports

Bedrock server not opening any ports

Scheduled Pinned Locked Moved Minecraft
5 Posts 2 Posters 66 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DidierMalenfantD Offline
    DidierMalenfantD Offline
    DidierMalenfant
    wrote last edited by
    #1

    I'm trying to install a bedrock server but I can't seem to connect to it.

    When I port scan the cloudron server, I can see that 19132 is not opened.

    What can I do to try and debug this?

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @didiermalenfant
      I was unable to reproduce your issue.
      Both nmap from external and netstat from internal showed the ports are open:

      nmap -sU -p 19132 my.cloudron.dev
      PORT      STATE         SERVICE
      19132/udp open|filtered unknown
      # from inside the Cloudron server
      netstat -tulpen | grep -i 19132
      udp        0      0 0.0.0.0:19132           0.0.0.0:*                           0          74015751   3966697/dockerd   
      udp6       0      0 :::19132                :::*                                0          74015752   3966697/dockerd
      
      1 Reply Last reply
      1
      • DidierMalenfantD Offline
        DidierMalenfantD Offline
        DidierMalenfant
        wrote last edited by
        #3

        I'm thinking the app never actually start correctly or shuts down which would explain my issue.

        Let me try the netstat command from inside the app and see what that does for me. I'll post the app's log here if I can't find anything wrong.

        1 Reply Last reply
        1
        • DidierMalenfantD Offline
          DidierMalenfantD Offline
          DidierMalenfant
          wrote last edited by
          #4

          Yeah my diagnostic skills for things like this need improving 🙂

          So running netstat -tulpen | grep -i 19132 from inside the docker image does return the expected results. netstat is not installed on Ubuntu by default so I couldn't try that on the host cloudron server (I'm wary of touching anything package-wise on the machine running cloudron because I don't want to mess up any dependencies).

          nmap -sU -p 19132 my.cloudron.dev was interesting because it pretty much returns open|filtered on any port when using the lan address of the server but then returns correct open/closed when using the internet facing address of the server (which makes sense because it's going thru my router that way and that's where the port forwarding is).

          Anyway, turns out that in my case it was a combination of IPv6 issues (tried to forward 19133 too but never got it working when the game was connecting via IPv6. Ipv4 works fine so I made my DNS entry by IPv4 only) and the enable-lan-visibility settings.

          That second part looks like it needs to be enabled even if you're connecting to the server from outside the lan. Maybe I'm mis-understanding the purpose of that setting but basically with it off I couldn't get any connections going.

          jamesJ 1 Reply Last reply
          1
          • DidierMalenfantD DidierMalenfant

            Yeah my diagnostic skills for things like this need improving 🙂

            So running netstat -tulpen | grep -i 19132 from inside the docker image does return the expected results. netstat is not installed on Ubuntu by default so I couldn't try that on the host cloudron server (I'm wary of touching anything package-wise on the machine running cloudron because I don't want to mess up any dependencies).

            nmap -sU -p 19132 my.cloudron.dev was interesting because it pretty much returns open|filtered on any port when using the lan address of the server but then returns correct open/closed when using the internet facing address of the server (which makes sense because it's going thru my router that way and that's where the port forwarding is).

            Anyway, turns out that in my case it was a combination of IPv6 issues (tried to forward 19133 too but never got it working when the game was connecting via IPv6. Ipv4 works fine so I made my DNS entry by IPv4 only) and the enable-lan-visibility settings.

            That second part looks like it needs to be enabled even if you're connecting to the server from outside the lan. Maybe I'm mis-understanding the purpose of that setting but basically with it off I couldn't get any connections going.

            jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @didiermalenfant

            @DidierMalenfant said:

            So running netstat -tulpen | grep -i 19132 from inside the docker image does return the expected results

            You should not run that from inside the docker image but on the root system connected with ssh.


            @DidierMalenfant said:

            and the enable-lan-visibility settings

            Is that a router setting or a bedrock server setting?

            1 Reply Last reply
            1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search