Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port not changing #520

Open
GreyScriptsOfficial opened this issue Aug 17, 2024 · 1 comment
Open

Port not changing #520

GreyScriptsOfficial opened this issue Aug 17, 2024 · 1 comment
Labels
awaiting info Waiting for op/more details

Comments

@GreyScriptsOfficial
Copy link

GreyScriptsOfficial commented Aug 17, 2024

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

@extremeheat
Copy link
Member

You need to ensure that the server is reachable from a vanilla client. If the ping times out then the server is unreachable at that port. If there is a ping response please post the ping response data.

@extremeheat extremeheat added the awaiting info Waiting for op/more details label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting info Waiting for op/more details
Projects
None yet
Development

No branches or pull requests

2 participants