Skip to content

connection.socket.remoteAddress returns ::1 even when client has another IP #58

@peq42

Description

@peq42

I'm trying to use "connection.socket.remoteAddress" to get the clients IP in the server part of my game to make a ban-by-IP system, but it is returning "::1" even if client and Server have different IPs

Is that a bug in the library? Are there other ways to get the client's IP?

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