Bilješka
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati da se prijavite ili promijenite direktorije.
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati promijeniti direktorije.
Standard Load Balancer supports an idle timeout range of 4 minutes to 100 minutes for load-balancing rules and inbound NAT rules. Outbound rules support an idle timeout range of 4 minutes to 120 minutes. The default setting is 4 minutes for all rule types. If a period of inactivity exceeds the timeout value, the TCP or HTTP session between the client and your service isn't guaranteed to be maintained.
Note
The procedures in this article configure a Standard Load Balancer. Basic Load Balancer (retired) supported an idle timeout of up to 60 minutes and doesn't support TCP reset configuration.
The following sections describe how to change idle timeout and TCP reset settings for load balancer resources.
Set TCP reset and idle timeout
To set the idle timeout and TCP reset for a load balancer, edit the load-balanced rule.
- Sign in to the Azure portal.
- In the left-hand menu, select Resource groups.
- Select the resource group for your load balancer. In this example, the resource group is named myResourceGroup.
- Select your load balancer. In this example, the load balancer is named myLoadBalancer.
- In Settings, select Load balancing rules.
- Select your load-balancing rule. In this example, the load-balancing rule is named myLBrule.
- In the load-balancing rule, input your timeout value into Idle timeout (minutes).
- Under TCP reset, select Enabled.
- Select Save.
- Reopen myLBrule and confirm that Idle timeout (minutes) shows your value and TCP reset shows Enabled.
Next steps
For more information on TCP idle timeout and reset, see Load Balancer TCP Reset and Idle Timeout.
For more information on configuring the load balancer distribution mode, see Configure a load balancer distribution mode.