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 changing #495

Closed
Lore228295 opened this issue Apr 7, 2024 · 4 comments
Closed

port changing #495

Lore228295 opened this issue Apr 7, 2024 · 4 comments

Comments

@Lore228295
Copy link

when i put a IP(not domain) it chnges to 19132. when i tried to change the port "19132" on the packages, it still shows up 19132 somehow. even if i changed the number 19132 in any packages, anyway it dont work

@extremeheat
Copy link
Member

extremeheat commented Apr 7, 2024

If you mean createClient is connecting on 19132 while you are putting a different port in the options, then it's probably because the server is advertising the incorrect port in its PONG message. This could be a bug in the server software, and you can check by doing

const { ping } = require('bedrock-protocol')
ping({ host: 'localhost', port: 12345 }).then(console.log)

To checkout the port that the server is returning.

@Lore228295
Copy link
Author

yes but the bot wont join with 19132. works only with the real port

If you mean createClient is connecting on 19132 while you are putting a different port in the options, then it's probably because the server is advertising the incorrect port in its PONG message. This could be a bug in the server software, and you can check by doing

const { ping } = require('bedrock-protocol')
ping({ host: 'localhost', port: 12345 }).then(console.log)

To checkout the port that the server is returning.

@Lore228295
Copy link
Author

If you mean createClient is connecting on 19132 while you are putting a different port in the options, then it's probably because the server is advertising the incorrect port in its PONG message. This could be a bug in the server software, and you can check by doing

const { ping } = require('bedrock-protocol')
ping({ host: 'localhost', port: 12345 }).then(console.log)

To checkout the port that the server is returning.

also its a realm, i just got the ipwith some mod. how do i make the bot join a realm?

@extremeheat
Copy link
Member

how do i make the bot join a realm?

See the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants