title: Connecting to web server using flash.net.NetConnection
body: <p>The ActionScript 3.0 Reference says the following about <code>flash.net.NetConnection</code>:</p>
  
  <p><code>The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or the Adobe Stratus service. Call NetConnection.connect() to establish the connection.</code></p>
  
  <p>Does this mean I make a regular HTTP connection to any web server using an <code>NetConnection</code> object? I am a little confused about this as further down the section on the <code>connect()</code> method says <code>connect(): Creates a two-way connection to an application on Flash Media Server or to Flash Remoting, or creates a two-way network endpoint for RTMFP peer-to-peer group communication....Pass an "http" URL to connect to an application server running Flash Remoting.</code>. So, the application server <strong><em>has</em></strong> to have Flash Remoting? </p>