PDA

View Full Version : Possible to view/watch with Nlite when traveling?



mattman1968
2018-04-18, 04:30 PM
Is it possible to remote connect with Nlite? For instance if I'm traveling and I connect to an Xfinity hot-spot, is it possible to SSH, or other, into my home machine with Nlite? Or is that beyond the scope of NLite?

ElihuRozen
2018-04-18, 05:01 PM
Run it like this:
nlite -server yourServer.yourDomain.com:8866:0000
Replace "yourServer.yourDomain.com" with your external IP address or dynamic DNS name. If you have changed the default port, replace "8866" with your port number. If you have changed the default PIN, replace "0000" with your pin.

sub
2018-04-18, 05:40 PM
As mentioned above, you can explicitly specify a server on the command line, which will even work across the internet. That said, it only ever streams full bitrate streams, so there is a good chance the internet will not be fast enough to keep up.

mattman1968
2018-04-19, 05:43 PM
I could not get it to connect. All I get is a cmd prompt running in the background and the Nlite app is all white.. I don't travel that often so it's not a big concern. Thanks for the tips, though!

sub
2018-04-19, 05:51 PM
I could not get it to connect. All I get is a cmd prompt running in the background and the Nlite app is all white.. I don't travel that often so it's not a big concern. Thanks for the tips, though!Just checking a couple of things - you have it working locally, its only a problem remotely? Your router/firewall is allowing remote connections? ie you can open the web browser remotely and see the web app at http://xxx.xxx.xxx.xxx:8866

mattman1968
2018-04-19, 07:00 PM
Yes, locally it works no problem. I tried http://xxx.xxx.xxx.xxx:8866 but couldn't open the web browser, but that could be because I tried from work. I can try at home connecting to a wi-fi hot-spot.

Graham
2018-04-19, 07:50 PM
Yes, locally it works no problem. I tried http://xxx.xxx.xxx.xxx:8866 but couldn't open the web browser, but that could be because I tried from work. I can try at home connecting to a wi-fi hot-spot.

Have you enabled port forwarding on your home router?

sub
2018-04-19, 07:50 PM
Yes, locally it works no problem. I tried http://xxx.xxx.xxx.xxx:8866 but couldn't open the web browser, but that could be because I tried from work. I can try at home connecting to a wi-fi hot-spot.Yeah, you need to get the web browser working remotely before nlite would work. If it works locally, but not remotely, you almost certainly haven't got your router forwarding that port correctly.

mattman1968
2018-04-20, 04:13 AM
OK, this is a quest now. The web browser shows an error. I have no idea what it means. Screenie attached. It's funny...I have a UPnP server set up and I can access my movies/recordings anywhere, on any internet connection, with my android. However, trying to do something similar with my laptop is proving to be very complicated. In the grand scheme of things, this really isn't that important. But as I said, it a QUEST now!

Graham
2018-04-20, 09:38 AM
...I have a UPnP server set up and I can access my movies/recordings anywhere, on any internet connection, with my android.

Your UPnP setup may have included an automagic process to configure your home router.

Your home router will, by default, act as a kind of firewall and will silently reject any data from the Internet that is not a response to data sent from inside your home network. You need to tell the router that data that arrives from the Internet and is directed toward port 8866 should not be rejected and should be forwarded on to the computer that is your NextPVR server ... https://en.wikipedia.org/wiki/Port_forwarding

You can probably type the IP of your router (often 192.168.1.1 or 192.168.0.1) into a browser to access the router settings.

mattman1968
2018-04-20, 12:42 PM
I appreciate the responses. I am no expert but I have been around the block a few times. I have opened the port in my router, as well as the firewall. The errors I have posted above (which may be hard to read due to their size) mention configuration errors in C:\Users\Public\NPVR\web\web.config line 59. I have no clue what it means though.
The first screenie is when I run xxx.xxx.xxx.xxx:8866 from within my LAN. The second screenie is from when I run xxx.xxx.xxx.xxx:8866 from a connected hot-spot.
What's odd, is that I have NPVR installed on one of my secondary PCs (client machine) and I have not opened any ports for that PC in neither the router nor Firewall. When I put that PC's IP xxx.xxx.xxx.xxx:8866 in the web browser, it connects (when run within my LAN).

Graham
2018-04-20, 02:31 PM
... configuration errors in C:\Users\Public\NPVR\web\web.config line 59.

A stab in the dark ... Rename the Users\Public\Web folder so that NextPVR can't find it ... Rerun the installer but without doing an uninstall first ... this will install any missing files and leave everything else untouched. Re boot after the re-install to restart all of the logs and then try to connect from outside your local network using just one technique (for example, nlite) ... post your NextPVR logs. It is the NextPVR web.log that should show messages when nlite attempts to connect.

mattman1968
2018-04-20, 03:57 PM
@Graham
Will try later this evening/weekend. Thanks.
On a different note, I was able to access my UPnP on my work PC with Foobar2000 (https://bubblesoftapps.com/bubbleupnpserver/) (about 2/3 down the page). Took a long time to load/start VLC, but videos played and seeked (is that a word) well.

Edit:
Using BubbleUPnP Tether Client (https://bubblesoftapps.com/bubbleupnpserver/) seems to work much better. Once connected to the Tether Client, I open VLC (almost immediately), find my UPnP server, navigate to what I want to watch and it starts instantly, and is seekable as well. Very nice!

mattman1968
2018-04-21, 01:00 AM
I renamed C:\Users\Public\NPVR\web\web.config to webxxxx.config and entered xxx.xxx.xxx.xxx:8866 in my browser. As expected it did not work, but the error message was something completely different. I renamed the file back to web.config and tried the browser again and it works.

It appears that I now have a multitude of options to view via the internet.