KestrelServerOptions.ListenLocalhost 메서드

정의

오버로드

ListenLocalhost(Int32)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

ListenLocalhost(Int32, Action<ListenOptions>)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

ListenLocalhost(Int32)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

public:
 void ListenLocalhost(int port);
public void ListenLocalhost (int port);
member this.ListenLocalhost : int -> unit
Public Sub ListenLocalhost (port As Integer)

매개 변수

port
Int32

적용 대상

ListenLocalhost(Int32, Action<ListenOptions>)

지정된 포트를 사용하여 ::1 및 127.0.0.1에서 수신 대기합니다. 0을 지정하여 동적 포트를 요청하는 것은 이 유형의 엔드포인트에서 지원되지 않습니다.

public:
 void ListenLocalhost(int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void ListenLocalhost (int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.ListenLocalhost : int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub ListenLocalhost (port As Integer, configure As Action(Of ListenOptions))

매개 변수

port
Int32
configure
Action<ListenOptions>

적용 대상