Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: firewall problem



Hello David,


>Hi,
>
>I want to be able to stream QT content to my clients who are behind firewalls.
>
>I just set up a new DSS 2 and tested it with two clients who are both behind
>firewalls.  Unfortunately, neither one could see the stream.  They both got a
>"404: not found."

I suspect you may be running an Apache web-server on your QTSS
machine, and the error 404 is being returned by Apache (on
port 80), and not via QTSS.

The solution is to multihome your machine, or else setup
IP Aliasing (or virtual IP addresses).

Next, you need to bind QTSS to one IP address (look in
/etc/streamingserver.conf, edit bind_ip_addr, set it
to equal the IP address you want QTSS to bind to).

As for binding Apache to the other IP address, someone
just posted how to do this to the list:

   >Date: Mon, 06 Nov 2000 09:37:38 -0600
   >From: Brian Blood <email@hidden>
   >Subject: Re: QTSS new user questions
   >
   >For Apache:
   >Open the apache.conf file:
   >/Local/Library/WebServer/Configuration
   >
   >Find the line with the "BindAddress" directive. It should be commented 
   >out.
   >Uncomment it and edit it like so:
   >
   >BindAddress 12.34.56.78


You do want to be sure and include 80 in the list of
QTSS ports once you have the machine using multiple IP
addresses.


>MY PREPARATION:
>1. I edited the /etc/streamingserver.conf file to include port 80 (ie. rtsp_port
>554 7070 80)

Put 80 back in...

>2. restarted my Darwin streaming server
>3. made sure that both clients were using QuickTimePlayer version 4.1 (or later)
>
>URL TO STREAM:
>rtsp://216.167.127.142/test/streamtest.mov
>
>Since I'm not behind a firewall this audio stream works fine for me with my
>QuickTime Setting/Streaming Transport set to "Use UDP, RTSP Port ID 554."
>However, if I select "HTTP, Port ID 80" (the same setting i'm assuming will work
>for those behind a firewall) I also get the "404:not found"
>
>QUESTIONS:
>- What am I doing wrong?
>- Is there a conflict between Apache and DSS sharing the same port 80?
>- Any suggestions on how to fix this problem?

See above...

>- Do I need to set my server to use IP Aliasing, or else virtual IP hosts?

Yes you do, and bind QTSS and Apache respectively to separate
IP addresses.

Good luck,
Billy Brown




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.