Bedrock server not opening any ports
-
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?
-
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 -
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.
-
Yeah my diagnostic skills for things like this need improving

So running
netstat -tulpen | grep -i 19132from inside the docker image does return the expected results.netstatis 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.devwas interesting because it pretty much returnsopen|filteredon 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-visibilitysettings.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.
-
Yeah my diagnostic skills for things like this need improving

So running
netstat -tulpen | grep -i 19132from inside the docker image does return the expected results.netstatis 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.devwas interesting because it pretty much returnsopen|filteredon 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-visibilitysettings.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.
Hello @didiermalenfant
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.
and the enable-lan-visibility settings
Is that a router setting or a bedrock server setting?
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