Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was 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

@coderrquitsreality

Description

@coderrquitsreality

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions