You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Solution for Apple TV 2, Xfinity router, Ethernet connection and Home Sharing

I have read over the past week the problems people have been having configuring their Apple TV and Home Sharing. I was experiencing the same issues as others....until tonight. I finally got it to work with an Ethernet connection. Previously, I was only able to get it to work via wifi and home sharing would drop after awhile.


1) Xfinity router settings. Like others I was suspicious if the Xfinity router was causing the issues because of the separation between wifi network and Ethernet network. It's not the router problem. I disabled the firewall. Enabled port forwarding. Gave a static IP address to the Apple TV. Added forwarding of ports

123 TCP

3689 UDP (all other support says this should be TCP but searched through and found a thread that suggested changing to UDP...this was the key)

5353 UDP

80 TCP

443 TCP

53 TCP


DMZ is off

Device discovery is disabled

Port triggering is disabled.


The wifi is setup and functional using DHCP. Lease time is 1 week.


RESET ROUTER AFTER ENTERING CONFIGURATION.


2) Mac computer. As of this posting the latest version of iTunes installed. Latest Safari version. All programs updated. Turned on Home Sharing. Turned off firewall. Gave Mac a static IP address. Set Mac for hard drive to never sleep. Set monitor to sleep after 15 minutes. Set date and time to automatically find based upon time zone. ( Apple TV needs to be set to the same time zone as computer and set to manual). Enabled file sharing amongst users on Mac.


3) Apple TV. Ethernet connection. Configured TCP/IP to static IP address I configured on router for the Apple TV. Turned on AirPlay. Set date and time to manual and set as the same time zone as the computer with iTunes. Turned on Home Sharing. Using latest version of Apple TV.


Once the router was reset ( not restored and not just resetting the wifi. A complete router reset), the Apple TV found my iTunes library. It's been running now for over an hour and no drop in the home sharing. Working beautifully. I will be testing in the next couple days allowing the Apple TV to sleep, turning the firewall on the router to a minimal setting to see if it changes anything.


Just tested the AirPlay from my iPad 2 to the Apple TV while the Apple TV is connected via ethernet connection and it works. At this point it appears that the setup is correct and complete with no errors.


As a side note, the Ethernet connection between my router and Mac is via commercial devices using the power outlets as the wiring.


Hope this helps many of you that were/ are struggling to get this to work like I was.

AppleTV 2

Posted on Feb 17, 2012 9:51 PM

Reply
58 replies

Mar 26, 2013 7:48 PM in response to spma3

H spma3i,


I've been trying to implement the fix as you describe it, and I'm on the verge of giving up - I've followed all the steps you describe (I have the same router) but have had no success. As soon as I revert both the MacBook I'm using as a server and the Apple TV, to a wifi connection, home sharing works perfectly. On Ethernet, no joy :-(


I've rechecked all the settings, and from what I can see, I've set up everything just as you describe. The only difference between your set up and mine is that I'm using a third-gen Apple TV. Could this be causing an additional problem?


I'm about sick of messing around with what should be such a simple set up process (just like so many others it would seem). If you or anyone else are able to offer any additional suggestions, I'd be really grateful.

Mar 26, 2013 10:40 PM in response to spma3

Hi spma3,


I've been trying to implement the fix as you describe it, and I'm on the verge of giving up - I've followed all the steps you describe (I have the same router) but have had no success. As soon as I revert both the MacBook I'm using as a server and the Apple TV, to a wifi connection, home sharing works perfectly. On Ethernet, no joy :-(


I've rechecked all the settings, and from what I can see, I've set up everything just as you describe. The only difference between your set up and mine is that I'm using a third-gen Apple TV. Could this be causing an additional problem?


I'm about sick of messing around with what should be such a simple set up process (just like so many others it would seem). If you or anyone else are able to offer any additional suggestions, I'd be really grateful.


PS sorry if this post appears twice, I replied to the original post at first..........

Mar 30, 2013 11:24 PM in response to spma3

On Windows 7 / Windows 8 (I suspect Vista too, but I haven't confirmed this) I have documented the issue I had (symptoms of music & video taking AGES to load from Apple TV when playing from iTunes on my PC - if left it would get there in about 15 mins). I could however play from iTunes on my PC to the Apple TV ok.


The issue I had was that my network card was set to a Public Network location. The Bonjour service runs by default on a Private Network location. To check the location your network card is using go to Control Panel, Network and Sharing Centre. It is explained here


To change your network location then follow the steps in this article http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/662e5a c6-b0c2-48e6-8a86-a00eaa9c4ba1


The relevant post is pasted below.


You could just change the Bonjour service to run on the Public location in your firewall settings, but I would suggest fixing up your network settings. I don't know if I had a different problem to others that reset and unplugged and replugged in, but I would suspect I did and the unplugging and replugging in just set up a different location on the network card and happened to be Private so all was well.


Anyway, this solved my problem and I hope it stops someone else from going quite as crazy as I was.


================================================================================ =

Post from http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/662e5a c6-b0c2-48e6-8a86-a00eaa9c4ba1


You can't change the unidentified network to private because that is prevented by a default security setting.


You can change the security setting so that the network is not made public in the first place.


Here is what you need to do from a previous discussion on this.


To do this on your local server , follow these steps:

1. Start --> run --> MMC --> press enter

2. In MMC console , from menu file select Add/Remove Snap-in

3. Select Group Policy Object editor --> Press Add --> select Local computer --> press OK -->press OK

4. Open Computer configration -->Windows Settings -->Security Settings -->select Network list manager policies
on the right Side you will see options for :

double click -->Unidentified networks

Then you can select the option to consider the Unidentified networks as private and if user can change the
location.

I hope that is will help you and is clear .


--------------------------------------------------------------------------------
Hikmat Kanaan Amman-Jordan MCSE



Bill

May 11, 2013 4:07 AM in response to spma3

THANK YOU, THANK YOU, THANK YOU!


Well, after countless hours of f***in' about with Windows firewall, Bonjour service, static IP addresses, IPv6 etc. etc. etc. it seems that this port forwarding has resolved the dropouts I was getting.


I have Apple TV 3, latest itunes running on Windows 7 (32bit) connected on my Sky SR101 (Fibre broadband) router.

After one song play or playing one film I had the Home Sharing disconnect. I then had to restart iTunes on the PC. I had no issues with Airplay or mirroring from my iPad mini/iPhone4S.


In case anyone else with this setup I've added a couple of screenshots from my router admin page to assist.


For the record here's what got my Home Sharing working...


  • Disable IPv6
  • Static IP addresses all round
  • remove all instances of Bonjour from Windows Firewall and then re-add only one
  • remove all instance of iTunes from Windows Firewall and then re-add only one
  • Carry out the port forwarding as per spma3 on my Sky router (see below)


User uploaded file

User uploaded file


So finally (fingers crossed), this seems to have sorted out the Home Sharing issue - oh yeah 3689 is TCP per a later post from spma3.

It's still early days only 5 hours in, but the AT3 has been to sleep and working normally after wake up (with the Remote app for iPhone).


So a MASSIVE thank you to spma3 for not only finding this info out but sharing with all of us.



Dont get the hump but I'm going to paste links to my reply and this thread wherever I can.

Jun 9, 2013 4:38 PM in response to scott.hitchman

After scouring for hours, the only thing I needed to do was to adjust the incoming rule for all instances of Bonjour in Windows Firewall Settings. Click on the incoming rule for Bonjour ---click on the advanced tab and check the box for all profiles: Domain, Private and Public. Apply the rule...and at least for me Voila'. I believe Scott already mentioned this simple fix his prior post, but with so much other information in it, I think for us simpletons, that gets overlooked.


I am not tech savy and couldnt go through all of the router settings mentioned above or setup static ip's or anythign else. In fact, my Arris router has different wording for everything it seems and I couldnt figure anything out with port forwarding either. So that part is too complicated for me.


My home share would drop out after 1 or 2 songs and I would have to reboot itunes...now its running and accessing fine for days. I am using Win 7 64 bit and my computer is etherneted to the router...but what ever the solution is for everyone, after seeing these problems for 2 years on these boards, I cant beleive there is neither an Apple update to address this, nor at a quick fix article saving everyone countless frustrating hours.


legal1

Jun 14, 2013 4:56 PM in response to spma3

Hello, I've been having similar problems to those described above.


I have a fast PC running Windows 7 (64 bit) containing my iTunes library which is fully updated, a MacBook Pro running Mountain Lion which also has a copy of my iTunes library, ATV3 also fully up to date and a BT Home Hub 3.


I have NEVER been able to successfully watch anything on my ATV 3 without it losing the connection to my PC either by Airplay or by accessing the library directly. after a while it stops working and my ATV says there are no computers connected and wants me to turn on home sharing (even though it is already turned on). The ATV still picks up iTunes Store and iCloud perfectly along with Netflix, YouTube etc., but just won't stay connected to my PC. I seem to be able to watch the movie directly from the iTunes Store through iCloud (though to be fair I've never watched a movie all the way through this way so I'm not sure if I would get the same problem) but this eats into my bandwidth usage so I don't do it.


I tried switching off the PC. And using the MacBook as my home sharing computer but same result - both Airplay and direct access to the library drops out after a bit.


Most of the previous posts refer to an Xfinity router. My son (who works in the industry) says he thinks the BT router doesn't play nicely with Apple products. He had problems with all his Apple kit until he switched to Netgear and urges me to do the same but it appears that from what you all say it doesn't matter what router you use although he may be right as my iPhone 5 and iPad 2 also drop the WiFi connection fairly frequently whereas my BlackBerry and an ancient Dell laptop are rock solid!


I'm going to try the port forwarding solution proposed by spma3 and will post again to let you know what happens. In the meantime I wonder if anyone else with the same setup (BT router, etc.) all bang up to date- has the same problem.


I'm also pretty ****** that (having switched to Apple after years of PCdom on the basis that "it just works") the first posts about this topic appears over a year ago and they're still going on without a single input from anybody official at Apple!!!


Many thanks.

Jul 26, 2013 11:05 PM in response to spma3

Thanks spma3. I got half way there. My Iphone can connect after using your settings but my IPad is still a no go...which makes absolutely no sense. Seriously had enough of Apple. I'm this close || to selling all my Apple stuff and going back to just PC. I mean, should we all really have to waste hours of our time searching forums just to use our gear ???.

Aug 7, 2013 6:12 AM in response to spma3

Legal1, THANK YOU for your post. I did exactly what you recommended--changed the incoming rule for all instances of Bonjour to domain, public, and private. After restarting my PC, home sharing worked perfectly, and now both my Apple TVs have been working flawlessly for over twelve hours.


I'm using Windows 8 with a Linksys router, so I recommend that anyone who's having problems with home sharing try this simple but incredibly effective solution. Thanks again, Legal1--you put an end to hours of frustration for me.

Aug 10, 2013 12:44 PM in response to PeterJRM

Your welcome and I am glad it helped. This has worked going on over 2 months since I posted on it.


It is frustrating as **** that their isnt a clear and concise post from Apple helping to resolve this or that we all need to scour through thousands of posts to tweak settings that should already be properly set up. Or, at the least, that should otherwise be explained from the beginning of setup.


Best, Legal1

Solution for Apple TV 2, Xfinity router, Ethernet connection and Home Sharing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.