Pugmatt / BedrockConnect

Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
GNU General Public License v3.0
1.48k stars 164 forks source link

Bedrock Connection Started: 0.0.0.0:19132 But cannot see it running #493

Open JohnBons opened 7 months ago

JohnBons commented 7 months ago

Is your feature request related to a problem? Please describe. I don't get the linux version working on Ubuntu. DNS script is running and bind runs (I can connect to port 53 with telnet) but when i run the java code

/code/BedrockConnect# java -jar BedrockConnect-1.0-SNAPSHOT.jar nodb=true 
-= BedrockConnect (Release: 1.43) =-

Server Limit: 100
Port: 19132

Loaded 0 custom servers
Bedrock Connection Started: 0.0.0.0:19132

It should be also listing on port 19132 Which it doesn't

sudo lsof -i -P -n | grep LISTEN
systemd-r  7945 systemd-resolve   14u  IPv4 113751      0t0  TCP 127.0.0.53:53 (LISTEN)
sshd      61813            root    3u  IPv4 654834      0t0  TCP *:22 (LISTEN)
sshd      61813            root    4u  IPv6 654845      0t0  TCP *:22 (LISTEN)
named     61861            bind   17u  IPv4 655256      0t0  TCP 127.0.0.1:953 (LISTEN)
named     61861            bind   19u  IPv4 655249      0t0  TCP 127.0.0.1:53 (LISTEN)
named     61861            bind   22u  IPv4 655251      0t0  TCP 5.230.122.59:53 (LISTEN)
named     61861            bind   24u  IPv6 655253      0t0  TCP [::1]:53 (LISTEN)
named     61861            bind   26u  IPv6 655255      0t0  TCP [fe80::be24:11ff:fe0a:7abe]:53 (LISTEN)
named     61861            bind   27u  IPv6 655257      0t0  TCP [::1]:953 (LISTEN)

Same behavior with

java -jar BedrockConnect-1.0-SNAPSHOT.jar nodb=true bindip=ipnumberhere

Describe the solution you'd like I would like to know what steps i can take to get it working.

Pugmatt commented 7 months ago

Could you please provide the version of Ubuntu you are using?

I use Ubuntu on the main instance and haven't encountered this issue, so not really sure what could be the issue yet.

JohnBons commented 6 months ago

Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy

ill also try a different one.

Pugmatt commented 6 months ago

Thank you. I tried running the previous command you had provided onto my setup

sudo lsof -i -P -n | grep LISTEN

And I did not see BedrockConnect's port show up on the list, but people can connect to it so I know the port is open. I'm not sure 100% the specifics of the provided command, but it doesn't appear to be picking up Java/BedrockConnect even if it has a port opened. (Atleast from what I'm seeing) So it may not be an accurate descriptor in this case.

Have you attempted to connect to the DNS on a device and connect to the BedrockConnect? If so what did you see or what error?