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

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

Open
peq42 opened this issue Jul 10, 2019 · 0 comments
Open

Comments

@peq42
Copy link

peq42 commented Jul 10, 2019

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?

@peq42 peq42 changed the title connection.socket.remoteAddress doesn't return anything connection.socket.remoteAddress returns ::1 even when client has another IP Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant