Pugmatt / BedrockConnect

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

Java Error on Startup #392

Open Turtle-Boi opened 1 year ago

Turtle-Boi commented 1 year ago

What happened?

Whenever I run my start.bat file, this error appears: image

Expected Behaviour?

The batch file should run flawlessly.

Steps to reproduce.

No response

Screenshots/Videos

start.bat: image

servers.json: image

Minecraft Bedrock Version

No response

Console

No response

Additional Context

No response

Pugmatt commented 1 year ago

In servers.json, try setting the port number with no quotes

"port": 19133

It's throwing an error right now because port is being set as a string in the config file, when it's expecting a number.

Turtle-Boi commented 1 year ago

Thanks, I don't know why I didn't realize this as I use json files constantly, it was expecting an integer lol. I also have a new issue, I'm trying to host this for my local network on a Windows Server 2022, but I can't contact the DNS server outside of the server itself.

Personal PC: nslookup www.modzero.ch 192.168.1.170 returns DNS request timed out. My Nintendo Switch, Xbox Series X, and even my phone always uses the secondary DNS instead of the main one. Windows Server 2022: nslookup www.modzero.ch 127.0.0.1 returns an IP, and I see it logged in mod0umleitung.