Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

When port is set to anything other than 19132 it is always 25575 #9

Open
coderrquitsreality opened this issue Oct 30, 2021 · 0 comments

Comments

@coderrquitsreality
Copy link

I am trying to RCON into my bedrock Minecraft server, and when I use this line:
const rcon = new Rcon('play.codebloxmc.tk', RCON_PASS, port = 19132, timeout = 5000);

the output in console is this:

(node:2345) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 174.59.82.194:25575
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)
(node:2345) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2345) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I have verified that the game port is 19132 but the port is always set to 25575

@coderrquitsreality coderrquitsreality changed the title When port is set to anything other than 19132 it is always 25575 When port is set to anything other than 19132 it is always 25575 Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant