PleXBMC for Raspberry PI help - total noob

Hi to all,

 

I have just started using Plex and a great system, used one a few hours between my account on laptop and really enjoy it.  I appreciate there is already a post on PleXBMC but was unable to skim through the 103 pages to find my problem... so sorry if this has been already discussed...

 

I am also quite a fan of the Raspberry PIs and I have added the add-on PleXBMC in order to have a facility to be able for example to bring my PI with me anywhere (eg parents or friends house) and have access to my collection of movies using my Plex Account.

 

Yesterday, I was testing this from the PI – added my credentials – selected “NO” to the Bonjour assistance – used the default IP and port and was unable to log on.  I opened the port on my router and still was not able to log on.

 

I then tried the server IP and port from Plex, that also did not work.

 

Right now, I no longer know what I am doing wrong so that I can connect to me Plex account via PleXBMC from outside my network…

 

Plex is set ti private – would I have to use this IP address in my PleXBMC setting? And if yes what port do add…

 

Any help on this would be most appreciated.

 

Thank you in advance

 

Ben

Hi Ben,

Welcome to the Plex world, I've only recently enough started using it after years of running XBMC. I use Plexbmc on a pi for 99% of my home media viewing however I've never tried using my pi outside of my home network, so I provide the following advice as per how I would go about setting it up myself!

I would try the following:

  1. Ensure you can access your Plex library from outside your home network. If you access plex.tv/web from a web browser at your parents, for example, can you stream media? If not, you will first need to resolve this issue. Likely it is because the port 32400 is not properly exposed to the internet, but you should check these forums for more info on that.
  2. In your Plexbmc settings, you should manually enter an IP address. If you are within your home network then this should look like 192.168.1.10 or similar (whatever local IP your server has). However if you are outside your home network then you will need to enter the WAN IP address - your servers IP address as it appears to everyone else on the internet. You should have a DYNDNS service or a fixed IP from your internet provider in order to prevent having to update your WAN IP in Plexbmc every time your WAN IP changes (which can sometimes be every day with certain internet providers). If you want to test your external IP, you can try connecting to it when you are outside your home network by entering http://your-wan-ip:32400/web in a web browser
  3. You will of course need to have entered your myplex username and password in the plexbmc settings page in order to provide access to your server over the internet.

On the other hand, I would suggest perhaps not using plexbmc for access to your server when away from your home network. I think it is better designed for local media access. The raspberry pi especially is not convenient unless you have a wifi usb attached, since most people don't have their router and their tv side by side. If I'm at a friends house or parents house and want to watch something from my library then I will connect my laptop to the TV and use the Windows 8 app. If I don't have my own laptop with me then I'll grab somebody elses and access plex.tv/web.

Best of luck anyway! From a technical point I believe it should work!

Hi JDBrookes,

Thank you so much for the reply - I will give it a go over the weekend and feedback how I get on.

Thanx again

Ben

Hi there,

I have tested from an outside link the http://xxx.xx.xx.xx:32400/web and seems to work but was unable to go too far due to Plex being under maintenance so was not able to test it fully to see if it worked as it just hangs loading.

So more to come at a later date.

Ben

Ok,

Well things are working from my browser but not on PleXBMC

In the setting of PleXBMC i have added my username and pw, my public IP and port.

When I try to access the add-on i get the following message:

HHTP respose error: 401 Unauthorised.

Looking at various help forums - some add a server with something like manage and tokens.... do i need to add a server to that list?  if so where do i get this from?

Any more help would be much appreciated - i will continue on my side to look for a solution too and if i do will post it here.

Thx

Ben

I was using an old version of PleXBMC - i now have

Version 3.4.3

- includes quick fix for parsing error on RPi (many thanks to berserk)

http://tinyurl.com/lkan5k9

and all seems ok i think..

Ben

some help here please. have tried openelec, xbian, and raspmc and nothing connects to my plex server using plexbmc. i have a netgear router but no idea of how to open a port or whatever. so can anyone please help here? tired of seeing all the tutorials that just say install and choose auto detect and everything works. obviously it doesnt or I wouldnt be trying to figure it out the last 2 days 

some help here please. have tried openelec, xbian, and raspmc and nothing connects to my plex server using plexbmc. i have a netgear router but no idea of how to open a port or whatever. so can anyone please help here? tired of seeing all the tutorials that just say install and choose auto detect and everything works. obviously it doesnt or I wouldnt be trying to figure it out the last 2 days 

Autodetect hasn't always worked for me either. I'm assuming you'r trying to connect within your own home / wifi network:

First thing you need to do is find out what the IP address is of the computer with PMS installed. You do this by running cmd (just type it in the start menu) => type ipconfig and see the IPv4 address given to you. Might look like 192.168.1.10 or similar. If your IP address seems always to be changing then you'll need to set a static IP / reserve a DNS address in your router. Google will help you out there.

Then when you're setting up your Plex client later on, don't go for the automatic option, just enter the IP address you got earlier.

If you're still not having any luck then unfortunately there may be either a network or firewall setting blocking Plex. Try going to the Network settings in Windows Control Panel and seeing if anything there seems to restrict sharing or communicating with other computers in your network. Also have a look at Windows firewall settings - you should see some mention of Plex in here to allow port 32400 from the computer. If you have any other security software installed you better check in there as well. Best of luck!

Hi Jdbrookes, 

Sorry for late reply but have not had the chance to log on here recently. 

Wanted to say thank you for your help and by researching myself too managed to get it working no problem.  I have my device at home in living room and bedroom connecting no problem with my OpenElec Raspberry PI and also managed to get it working outside my network at a friends house...:) top class! 

Thx again.

Ben

some help here please. have tried openelec, xbian, and raspmc and nothing connects to my plex server using plexbmc. i have a netgear router but no idea of how to open a port or whatever. so can anyone please help here? tired of seeing all the tutorials that just say install and choose auto detect and everything works. obviously it doesnt or I wouldnt be trying to figure it out the last 2 days 

Hi there, 

To port forward on a Netgear modem is very simple - you need to go into your Modem dashboard - but first find Your local PC IP address - (as explained to you above with ipconfig to find it)

then

go to Services - add custom service - and enter:

- Add name PLEX

- add in both ports 32400

- choose TCP/UDP

- save

Now go to Firewall Rules:

- service - choose PLEX

- add your local IP address from ipconfig

- Action is ALWAYS

- Apply

Thats it you have just allowed port 32400 to be open on your modem.

Ben

A friend opened up his plex server to me this past weekend. Obviously I am *trying* to access it outside my local subnet. I have an SSH tunnel from my Raspberry Pi xbmc to his local server. When I try to connect via plexbmc 3.4.5 I get an xml file and then a script failure. Any ideas?

EDIT: I have started a new topic for this post with some additional details.

https://forums.plex.tv/topic/110873-plexbmc-on-raspberry-pi-script-failure/

George

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.