Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable iTunes4 sharing through a firewall Apps
Obviously, there are some nice new features with the release of iTunes 4 earlier today. I was disappointed to discover that I could not share my music, however.

I figured this was probably due to the firewall, and sure enough it worked fine with the firewall disabled (not an acceptable solution.) So a quick portscan gave me some options, and after enabling access to port 3689 in my firewall, I was able to share files.

I figured this would help others, so I wanted to share it.

[robg adds: This same hint was submitted by about 10 people, all with minor variations on what was said and how it was said. So I picked this one (the first in the queue) to publish, but feel free to add your comments regarding your thoughts on the sharing feature -- it will be easier for everyone to find in the future with it located in one hint.]
    •    
  • Currently 2.40 / 5
  You rated: 3 / 5 (5 votes cast)
 
[21,929 views]  

Enable iTunes4 sharing through a firewall | 26 comments | Create New Account
Click here to return to the 'Enable iTunes4 sharing through a firewall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Elementary, I'm sure...
Authored by: willbank on Apr 29, '03 10:32:21AM

How do you share music with iTunes??

Sorry to be so stupid...



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: mithras on Apr 29, '03 10:37:51AM

To spell it out:
1. Open iTunes Preferences
2. Go to Sharing pane, and turn on sharing.
3. Open a hole in your firewall as describe in the hint. (You do use a firewall, right??)
4. Point friends / others to:
daap://your.ip.address/

and they can browse your library in iTunes 4.

An example is in my sig.

---
--
Listen To My iTunes Library (6500+ songs, iTunes 4 required)
my free OS X applications and scripts



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: mithras on Apr 29, '03 10:45:29AM

Huh. Rob must have turned off links in sigs.

As an example, you can browse my iTunes library here:

Listen To My iTunes Library (6500+ songs, iTunes 4 required)


---
--
Listen To My iTunes Library (6500+ songs, iTunes 4 required)

[ Reply to This | # ]

Mithras - thanks
Authored by: willbank on Apr 29, '03 11:03:37AM

Got it... I was having trouble with the IP section. (And yes, I do
use a firewall!)



[ Reply to This | # ]
Mithras - thanks
Authored by: Accura on Apr 30, '03 07:15:05AM

why do you use a fire wall?

---
"The time has come," the walrus said. "To talk of many things..."



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: saltydog4791 on Apr 30, '03 06:29:07PM

this is way cool Mithras. Plus you have great taste in music.
Any chance of a how-to for setting up that itune library php stuff
you have setup. I would love to do something like that myself.

saltydog4791



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: aranor on Apr 29, '03 11:30:48AM
Just a note - if, for some reason, you need to map a different port to the iTunes DAAP server (like, you have several computers behind a router and you want to share on each of them, so you have to map different ports on the router to each computer's port 3689), you can always specify a different port than 3689 in iTunes's connect dialog. Try something like myserver.mydomain.com:3680 if you want to have it connect to port 3680. Oh, and for those of you who want to listen to my music, go here

[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: keyizm on Apr 29, '03 09:29:43PM

sweet ... i just punched a whole through my firewall as well.
check out my iTunes Lib at daap://keyizm.homeip.net, enjoy =)



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: happykreg on May 15, '03 04:38:50PM

ok, I know I am doing something wrong but can't figure out what. here is what i know:

I have an airport (snow) at home. have used airport utility to open port 3689. public and private. made sure the firewall to my machine is off. get to work. not behind firewall here. try to connect to daap://xxx.xxx.x.xx:3689. can't connect. what am i doing wrong??



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: bluehz on Apr 29, '03 11:32:57AM

How do you "Browse" for servers? Is that possible?



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: fletcherpenney on Apr 30, '03 02:20:44AM

If you have rendezvous, it just works. Just like any other
rendezvous service. But only on LAN's of course.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: scotty321 on Apr 29, '03 11:55:59AM

The big irony here is that Apple is actually ENCOURAGING the stealing of
music, by not allowing us to share our legally-purchased AAC songs from
their Music Store. We can't share them via TiVo, we can't share them via
Rendezvous nor over the Internet, we can't share them with any other
MP3 player (besides the iPod, which supports AAC files).

Apple is (on one hand) touting the advantages of sharing your music
over Rendezvous and over the Internet, and (on the other hand) wants
you to buy music from their Music Store.

But you CAN'T buy music from their music store and then share or
stream it.

This whole fiasco doesn't really encourage or support the idea of users
buying these protected AAC files through the Apple Music Store.

As you buy more & more legitimate music, you'll be able to share them
less & less -- even though sharing through streaming for personal use is
perfectly legal.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: w0nt0n on Apr 29, '03 02:48:09PM

Its not stealing because iTune's only streams your music, like
Shoutcast, so you dont actually download the song but stream it.

Although thats not to say you cannot rip it. There is a program
called Audio Hijack that, as the name suggests, hijacks any
audio signal sent out to your computers speakers or line out.

The thing I would like to see next for iTunes 4, hint hint to any
third party developers, is a system where by I could launch a
small app to announce my ip address and a small genre
description of the music I want to stream. This could be done in
the form of a tracker system similar to Hotline or KDX. Basically
this would allow us to publish ourselves on a public iTunes
network. This would allow others to easily find and browse my
music collection without having to be personally invited first.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: w0nt0n on Apr 29, '03 02:51:10PM

Sorry I misread your comment. I totally agree with what you
said.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: JohnnyMnemonic on Apr 29, '03 09:33:06PM

I agree--I'm disappointed at this omission. Now, to stay legal, I
have a difficult choice: buy, and be immediately gratified,
through the Online Music Store; or purchase a CD and rip via
MP3, and then share it out to anyone I want.

However, I've seen it noted (but not tried) that you can share
purchased songs to other computers that have been
"authorized". Although that's really small consolation.

Really strange. I was ok with only being able to stream because
it stood to reason that the client computer shouldn't have a
persistent version w/o their own purchase--but these AAC files
are actually more limited than what a real CD could do.

Even if you could only share on your own subnet ie in your
immediate vicinity, I would be okay with that, vs being able to
share to the Internet at large.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: shemp9999 on Apr 30, '03 12:01:25AM

you can buy a song or a cd or whatnot, burn that to a cd (in
audio cd format - i have not tried other formats) and then rip
the cd as AAC or MP3, and the files will no longer be protected
(select "kind" in the view options).

works for me. i can share protected songs with up to 3
registered computers (home desktop, home laptop and work
machine), and if i mix,burn,rip, i can share them with anyone.



[ Reply to This | # ]
Advanced/Convert Selection to MP3
Authored by: ptwithy on Apr 30, '03 08:23:59AM

What does this command do? Does it 'defang' you AAC?



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall: Crush the Metadata, share the files.
Authored by: digitalone on Apr 30, '03 03:31:27AM

I'm sure that Apple knew we would get around this, so don't
spread it around ;). Converting it to another format that does
not support metadata in the same way will usually do one of 2
things to it: encapsulated it (aka defanging it) or strip it
entirely. It depends on the format, but I know that .WAV does
NOT support this data, it has no loss, and it will strip the
metadata off as well. Others may just defang it, so it is
recoverable or will make a nonfunctional track. You won't need
to burn it, just import it using iTunes import function switched to
.WAV, if it lets you. Of course there are tons of other converters
out there, I'm sure everyone has a favorite. From there, if you
want to take advantage of AAC, just re-import it using iTunes. I
haven't tried the re-import step, so let me know if there are any
surprises.

Happy sharing ladies and gentlemen.



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: iRoid on Apr 29, '03 05:38:10PM

How do I locate which ports are available thru the firewall?

---
iRoid



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: Accura on Apr 30, '03 07:21:59AM

"Sharing" pane in the "System preferences"

---
"The time has come," the walrus said. "To talk of many things..."



[ Reply to This | # ]
Finding available (open) ports
Authored by: gatorparrots on Apr 30, '03 08:04:06AM

Launch /Applications/Utilities/Network Utility.app
Click on the Port Scan tab.
Enter your LAN IP address in the box.
(Usually something like: 192.168.*.*, or use the loopback address: 127.0.0.1)
Click the Scan button.
It will execute a port scan of your computer and return a list of available, open ports on your computer. (Sometimes the process takes 20-30 seconds, so be patient.)

If you want a more robust port scanning application, NmapFE (frontend) works very well:
http://faktory.org/m/software/nmap/



[ Reply to This | # ]
Doesn't work
Authored by: ciryon on Apr 30, '03 11:54:26AM

I've forwarded the port through my Linux iptables firewall/
router, but it doesn't for the NAT'ed PowerBook behind.

Anyone know if it's tcp or udp?

Ciryon



[ Reply to This | # ]
Doesn't work
Authored by: joakim on Apr 30, '03 12:59:30PM

I'm sure it will be faster for you to switch the words "tcp" and/or
"udp" around on your Linux firewall and test than waiting for
someone to tell you. ;-)



[ Reply to This | # ]
Doesn't work
Authored by: ciryon on May 02, '03 01:16:03PM

Suspected so too. ;-) Well it doesn't work after having tried
both...

Ciryon



[ Reply to This | # ]
Enable iTunes4 sharing through a firewall
Authored by: JohnnyMnemonic on Apr 30, '03 05:30:48PM

"nmap iprange.iprange.iprange.iprange -p 3689 | grep -A Interesting |
grep -B open"

daap://ip.ip.ip.ip:3869--you've just connected to a stranger's stream, as
it's not protected by a firewall, either deliberately or accidentally. Find
out who has a Mac in your neighborhood!

(I welcome comments on making a more efficient grep.)

For my next clue, I'll pass the results into an applescript that will open
the stream in iTunes automatically.



[ Reply to This | # ]
I wrote an app to manage remote hosts
Authored by: joel on May 03, '03 11:50:34PM

I got frustrated that you must use the IP address when
connecting to a machine and that iTunes doesn't remember
those machines when you restart. So, I wrote an app to do it.

http://homepage.mac.com/jsumnertx/iTunesRemoteManager/

This app will store a list of machines that you want to connect
to. When you want to connect to the machine, it will figure out
the IP address for you and tell iTunes to connect.



[ Reply to This | # ]