Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

can not get remote ip addresss when using kestrel #359

Closed
@guyajun0

Description

@guyajun0

I Used asp.net 5, VS beta8 and dnx beta8 environment.
var remoteIp = context.Connection.RemoteIpAddress.ToString();

string remoteIp =context.Request.HttpContext.Features.Get().RemoteIpAddress.ToString();

why the two method is always getting null after I upgrade it from beta7 to beta8? Thank you!

when I use dnx beta7,it is ok to get the remote ip address,I am confused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions