Macromedia flash media server 2-managing flash media server ユーザーズマニュアル

ページ / 238
152
Configuration Files
You can also bind to any IP by not specifying anything in front of the colon. This string 
instructs the adaptor to bind to any IP on ports 1935, 80, and 443. 
<HostPort>127.0.0.1</HostPort>
If no colon is found in the 
HostPort
 string, the data is assumed to be an IP address and will 
bind to port 1935 as the default. The following string instructs the adaptor to bind to IP 
127.0.0.1 on port 1935. 
<HostPort>127.0.0.1:</HostPort>
When a colon is found but no ports are specified after it, port 1935 is used as the default port 
in which to bind. This string instructs the adaptor to bind to IP 127.0.0.1 on port 1935. 
When assigning port numbers, keep in mind the following:
There is a risk in assigning more than one adaptor to listen on the same 
IP:port
 pair. If 
another process tries to bind to the same 
IP:port
 combination, a conflict results. 
To resolve this conflict, the first adaptor to bind to the specified 
HostPort
 wins. Flash 
Media Server logs a warning in the Access log file indicating that the specified 
IP:port
 is 
in use.
Although you can assign any port number for HTTP tunneling, there is a risk of conflict 
with another application that may be assigned to the same port. 
For example, if you configure Flash Media Server to use port 80 to support HTTP 
tunneling, a web server and Flash Media Server can not both bind to port 80.
See also
HostPortList
This tag contains a list of 
HostPort
 tags associated with this adaptor.
Example
<HostPort secure="true">12.34.56.78:443</HostPort>
<HostPort secure="false">12.34.56.78:1935,80</HostPort>
This example demonstrates how to list secure and non-secure ports.
Although you can use any port number, there is a risk of conflicting with another application 
that may be assigned to the same port. For example, if you configure Flash Media Server to 
use port 80 to support HTTP tunneling, you can not bind both a web server and Flash Media 
Server to the same port 80.
See also