***If you haven’t already, please read my last article for context.***
Welcome back guys. Glad to see there’s a few stragglers left here. Let’s just jump right into this tutorial.
1) First things first; you need the following:
– A PC (alternatively, you can use a mac or linux machine, though this is a WINDOWS tutorial)
– An internet connection
– A music library
2) Download the server software here for free
– Double-click the executable and proceed through your standard Windows installer (next, next, next, finish)
– A tray icon will appear near the clock at the bottom of your desktop. Double-click that, and look at the status tab. If there’s no error message, you’re golden. If there is an error, you likely already have a web application running on that PC and need to change Subsonic’s default port number.
– Click on the Settings tab, and change the port if needed. A common alternate to 80 is port 8080.
3) Port Forwarding – open your computer to the Internet, at the port you chose in step 2
– This is the trickiest, most frustrating step. Follow these steps to a T, as best you can.
– You will need to log into your home router’s web interface. You can do this by opening a web browser, and browsing to your computer’s default gateway. To get the default gateway, you must open up a command prompt (run > cmd) and typing “ipconfig”. Put the IP address of the default gateway into your browser, in the format of http://0.0.0.0:8080, where teh 0’s are your own IP address. Your router may require https:// in front of the IP.
– You should get a prompt to log in. Default values are usually some variant of admin/password, but here is a database that may help if you have trouble. If you can’t find your router there, check router’s documentation or call the manufacturer (Or post in the comments, and I’ll try to help).
– Once logged in, you only need only do one thing. Find port forwarding (or port redirection, NAT, or any number of alternate names), and tell traffic incoming on port 80 (or whatever you set) to be directed to your computer’s internal IP address. You can get this the same way that you got the default gateway above, however it is a good idea to give your PC a static IP address (so that you don’t have to change this all the time). If you have trouble, that link above also provides help with port forwarding.
– Verify that all traffic coming in at that port is going to your computer’s IP, and save the settings. On to the easy part.
4) Configuring Subsonic
– Go to http://ipchicken.com/. Take the public IP address that it gives you, and put it into your web browser in the format of http://0.0.0.0:8080 (the 8080 being the port you selected; 0’s being the IP address ipchicken gives you) If you left it on port 80, you don’t need to put :8080 at the end.
– Log in with “admin” and “admin”. From here, follow the steps Subsonic links for you.
– Change the admin password to something secure.
– Set up the music folders. Generally, your “My Music” folder is going to be what you want to use. The path will look something like C:\users\ryan\music
– Configure network settings. This isn’t hugely important, but you can configure access to your server via a domain name if you like. You can use one provided by Sindre, or one of your own, but I’m not going to go into those details right now.
– You’re done! Check out the list on the right hand side, and try to play something. If it works, we can move on to setting up your Android device.
– Subsonic should now be accessible from your public IP (the one from ipchicken). Just browse to it via http://0.0.0.0 (replace 0’s with your public IP). Add :8080 on the end if you used it.
5) Configuring your Android Device
– Download the subsonic music app via the Market for free.
– Launch the app, open the settings, and configure a new server. The name doesn’t matter, but the server address must be exactly the same as your browser (http://0.0.0.0:8080)
– Log in with whatever user account you’ve configured. The default admin/admin will work (unless you’ve changed the password already)
– Test connection. Assuming all comes back alright, you should be good to go!
Now, there are a LOT more options than what I have shown here, and I suggest you look at them all to configure Subsonic as you like. Everyone’s network is going to be a little different, so my steps may vary depending on your setup.
If you have any questions, leave me a comment in the area below. I’ll be doing more how-to’s in the future, so tell me what you’d like to see!