Skip to content

RSocket How to obtain a remote IP address #48260

@sdack-cloud

Description

@sdack-cloud

How to obtain a remote IP address

org.springframework.boot:spring-boot-starter-rsocket:3.2.1
io.rsocket:rsocket-core:1.1.3

In the @ConnectMapping phase, I want to obtain remote IP addresses to prevent malicious attacks

I use WebSocket mode

WebsocketDuplexConnection remoteAddress() How should I obtain it

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions