See Also
User Guide OverviewAppweb Architecture
Configuring Appweb
Configuration Directives
Authorization
Secure Sockets Layer (SSL)
Virtual Hosts
Creating Dynamic Web Pages
Embedded Server Pages
Using Embedded JavaScript
Using PHP
Using CGI
Loadable Modules
Handlers
HTTP Client
Ports and Binding
Appweb can listen for HTTP requests on multiple IP addresses. Incoming requests may be served by a single server or they may be processed by different logical servers, often called virtual hosts. The process of opening TCP/IP ports to listen for requests is called binding. By default, Appweb will listen on all the interface network cards in the system, but the Appweb configuration file allows explicit control over which interfaces, IP addresses and ports to use.
The Listen configuration file directive specifies which IP address and ports to bind to. For example
Listen 80
Listen 209.108.201.67:8888
The Listen directive specifies the IP endpoints on which Appweb will listen for incoming HTTP requests. If you specify only the port Number and omit the IP address, Appweb will listen on all network interfaces including the loop-back adapter. Multiple Listen directives may be given and Appweb will bind to all the specified addresses. The VirtualHost configuration file directive specifies which logical (virtual) host will serve the incoming request.