access an application.</p>
      </td></tr></table>

  </div></div>

  <div class="subsection"><h4 id="Remote_Address_Valve/Example_localhost">Example 1</h4><div class="text">
    <p>To allow access only for the clients connecting from localhost:</p>
    <div class="codeBox"><pre><code>&lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"
   allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1"/&gt;</code></pre></div>
  </div></div>

  <div class="subsection"><h4 id="Remote_Address_Valve/Example_localho