title: NIO Connector in Tomcat
body: <p>I'm trying to enable NIO Connector in Tomcat 6.0 by configuring server.xml file, but I'm getting <strong>Firefox can't establish a connection to the server at localhost:8081.</strong> in the browser whenever I type <strong>localhost:8081</strong>. </p>
  
  <p>This is how I've configured NIO connector in Tomcat 6.0. May I know what's the problem?</p>
  
  <pre><code>&lt;Connector connectionTimeout="20000" port="8081" protocol="org.apache.
  coyote.http11.Http11NioProtocol" redirectPort="8443"/&gt;
  </code></pre>