Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Explore Legacy Service Features
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create an IP Blocking Rule to Block Chat Visitors

          Create an IP Blocking Rule to Block Chat Visitors

          Help your agents avoid troublesome customers by blocking chats from specified IP addresses.

          Required Editions

          View supported editions.
          User Permissions Needed
          To chat with visitors in Chat in the Salesforce console: Chat is enabled, set up, and included in a Salesforce console app
          Important
          Important

          Legacy Chat will be retired on February 14, 2026. To avoid service interruptions to your end users, switch to enhanced Chat (formerly Messaging for In-App and Web). Enhanced Chat offers many of the legacy Chat features that you love plus asynchronous conversations that can be picked back up at any time. Learn about migrating in Help and Trailhead.

          You can block chat requests from specified IP addresses. For example, if a customer is using abusive language or sending spam messages, you can block that user from starting a new chat. If your Salesforce org is receiving spam chats from a particular region, you can block entire ranges of IP addresses.

          Blocked visitors see a message indicating that chat isn’t available.

          If a customer attempts to request a chat from a blocked IP address, the chat is canceled. In addition, you can modify or delete blocking rules.

          1. From Setup, enter Block Visitors in the Quick Find box, then select Block Visitors. For guidelines on entering valid IP ranges, see Set Trusted IP Ranges for Your Org.
          2. Click New and fill in the parameters of your Blocking Rule.
          3. Click Save.

          You can also enable your agents to block chat requests from specified IP addresses while they work in the console. See Let Your Agents Block Visitors by IP Address for more information.

           
          Loading
          Salesforce Help | Article