Macromedia flash media server 2-managing flash media server Manuel D’Utilisation
XML configuration files
151
Description
The following table identifies the attributes for the
Enable
tag and describes their effect.
HostPort
This tag specifies which IP address and port(s) Flash Media Server is to bind to.
Description
If you wish to bind to multiple IP addresses on this adaptor, add a
HostPort
tag for each
additional IP that you wish to bind to.
Syntax
The connection string for the
HostPort
tag has the following syntax:
<HostPort><ip>:<port>,<port>,...,<port></HostPort>
Examples
<HostPort>:1935,80,-443</HostPort>
A port is marked as secure by specifying a minus sign in front of the port number in the
HostPort
tag. This specifies that Flash Media Server will listen on any interface, on ports
1935, 80, and 443, where 443 is designated as a secure port that will only receive RTMPS
connections. Attempting an RTMPS connection to ports 1935 or 80 will result in a failure to
connect. The client will attempt to perform an SSL handshake that the server will fail to
complete. Similarly, a regular RTMP connection to port 443 will fail because the server will
try to perform an SSL handshake that the client will fail to complete.
connections. Attempting an RTMPS connection to ports 1935 or 80 will result in a failure to
connect. The client will attempt to perform an SSL handshake that the server will fail to
complete. Similarly, a regular RTMP connection to port 443 will fail because the server will
try to perform an SSL handshake that the client will fail to complete.
<HostPort name=”edge1”>127.0.0.1:1935,80,443</HostPort>
This
HostPort
string instructs the adaptor to bind to the IP address for Edge1 at IP address
127.0.0.1 on ports 1935, 80, and 443.
<HostPort>:1935,80,443</HostPort>
Value
Description
true
Allow all HTTP tunneling connections.
false
Disallow all HTTP tunneling connections.
http1.1only
Allow only HTTP 1.1 tunneling connections.
keepalive
Allow HTTP 1.1 or HTTP 1.0 keepalive connections.
WARNIN
G
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, the web server
and Flash Media Server can not both bind to the same port 80.
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, the web server
and Flash Media Server can not both bind to the same port 80.