Streaming setup problem

General discussion about netjukebox
Locked
nitz
User
Posts: 1
Joined: Sun Jan 04, 2015 9:03 am

Streaming setup problem

Post by nitz »

Setting up netjukebox for the first time. We have no problem getting tracks to play on our internal network, but whenever we try to access our tracks externally we get a timeout message saying we can't connect to 127.0.0.1. What are we doing wrong?
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Streaming setup problem

Post by wbartels »

For streaming you should use the icon that looks like )))

When using streaming from outside the LAN you can't get a error message with 127.0.0.1 in it.
When saving an m3u playlist the protocol and domain name should be the same as from the browser url.

m3u:
#EXTM3U
#EXTINF:54,The roots - Act won (things fall apart)
http://live.netjukebox.nl/stream.php?action=stream&stream_id=2&track_id=dbci3ra4eg_925cc7ef&short_sid=3mYZaUA4&hash=f77c20ede1922498dfb539ae76b20cec4fe6432e&ext=.mp3

Browser:
http://live.netjukebox.nl/index.php?action=view3&album_id=dbci3ra4eg
FrankK
User
Posts: 4
Joined: Tue Mar 31, 2015 11:59 pm

Re: Streaming setup problem

Post by FrankK »

127.0.0.1 is a localhost, i.e. the machine you are running inside the lan.
So when aproaching from outside (on the WAN) there indeed is no 127.0.0.1

What you need to do is forward computerport 8080 to your media computer in your router configuration.
Then, on your mobile or external system login to http://yourexternalipaddress:8080
Locked