bedrock-protocol icon indicating copy to clipboard operation
bedrock-protocol copied to clipboard

Port not changing

Open GreyScriptsOfficial opened this issue 1 year ago • 1 comments

Changing the port on the ping, server, and even the client does not change at all.

Code: const { createClient, ping } = require(bedrock-protocol);

const client = createClient({ host: "localhost", port: 25565, followPort: true, profilesFolder: "./auth" })

// ping({ host: "localhost", port: 25565 }).then(data => { // console.log(data) // })

Console: Connecting to localhost:19132 Dedicated Server (Bedrock level), version 1.21.2

It is using the java port, as i have another server running on the latest version of minecraft, but the 25565 port is also a bedrock just running on 1.21.2

GreyScriptsOfficial avatar Aug 17 '24 04:08 GreyScriptsOfficial