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

Unable to connect to server #2838

Closed
1 task done
MuhammadRestu999 opened this issue Nov 22, 2022 · 2 comments
Closed
1 task done

Unable to connect to server #2838

MuhammadRestu999 opened this issue Nov 22, 2022 · 2 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@MuhammadRestu999
Copy link

MuhammadRestu999 commented Nov 22, 2022

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: 4.5.1
  • server: vanilla 1.19.41
  • node: v18.12.1

Detailed description of a problem

I'm trying to build a Minecraft bot
i am getting an ECONNREFUSED error
but I can access it using my Minecraft
I used this to create the Minecraft server

Your current code

const mineflayer = require("mineflayer");

const bot = mineflayer.createBot({
  host: "xx.xxx.xxx.xxx",
  port: 19132,
  username: "xxxx"
})

Expected behavior

The bot has successfully connected to the server

@MuhammadRestu999 MuhammadRestu999 added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Nov 22, 2022
@tupini07
Copy link

I see you're trying to use a Bedrock server, but if I'm not mistaken minflayer is made for Minecraft Java edition, not Bedrock. See #842 for related issue about supporting Bedrock.

@MuhammadRestu999
Copy link
Author

MuhammadRestu999 commented Dec 8, 2022

I see you're trying to use a Bedrock server, but if I'm not mistaken minflayer is made for Minecraft Java edition, not Bedrock. See #842 for related issue about supporting Bedrock.

Okay thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

2 participants