Skip to content

How to define RPC Server Path? #9

@nyxynyx

Description

@nyxynyx

Hi, I am trying to connect to the RPC server at 'http://localhost:5993/rpc. How can we configure the client to connect to this endpoint?

Tried the following, but it does not appear to work:

const client = rpc.createClient(5993, 'localhost:5993/rpc');

gives the error

localhost:5993/rpc: nodename nor servname provided, or not known

Thank you!

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