MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Bedienungsanleitung Seite 153

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 240
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 152
XML configuration files 153
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.
<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>
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.
Seitenansicht 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 239 240

Kommentare zu diesen Handbüchern

Keine Kommentare