KestrelServerOptions.ListenAnyIP KestrelServerOptions.ListenAnyIP KestrelServerOptions.ListenAnyIP KestrelServerOptions.ListenAnyIP Method

Definition

Overloads

ListenAnyIP(Int32) ListenAnyIP(Int32) ListenAnyIP(Int32) ListenAnyIP(Int32)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

ListenAnyIP(Int32) ListenAnyIP(Int32) ListenAnyIP(Int32) ListenAnyIP(Int32)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

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

Parameters

ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>) ListenAnyIP(Int32, Action<ListenOptions>)

Listens on all IPs using IPv6 [::], or IPv4 0.0.0.0 if IPv6 is not supported.

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

Parameters

configure
Action<ListenOptions>

Applies to