Change webport and stream to intenet

Hello Guys,

I have successfully installed Mopidy. On a Raspberry Weezy. it runs very well local, from this device…
I would like to change the port of my Mopidy to 8055, My web server is running on port 80; and a weatherstation on 8050;
Then I can stream my music at port 8055, for running on a raspy in my car.

And then I come to the second question, how can I stream Mopidy to Intenet.

I am a full noob, and dutch.

Thanks in advanced
Sincerely
Ivan FLO

This is not supported in PiMusicbox so you’ll have to come up with your own solution.

Edit the following line and change the port.

And edit this line to add your extra ports to the firewall exceptions:

@kingosticks,

Thank you for your very clear explanation.

But port 8055 would open my Mopidy on the internet, where I would “see” my Mopidy with a MiFi in the car.

I work with a Raspiberr 2 and Mopidy 1.1.2 version.

I found the file
Pimusicbox / pimusicbox / blob / develop / filechanges / opt / musicbox / startup.sh
Not, but yes
Opt / musicbox / startup.sh

Iptables -t night -A PREROUTING -p tcp --dport 8055 -j REDIRECT -to-port 6680> / dev / null 2> & 1 || True
#iptables -t night -A PREROUTING -p tcp --dport 80 -j REDIRECT -to-port 6680> / dev / null 2> & 1 || True

traffic jam
Pimusicbox / pimusicbox / blob / develop / filechanges / etc / firewall / musicbox_iptables # L13

Etc / firewall / musicbox_iptables # L13

#daap: 3689 TCP
#samba 137, 138 UDP (netbios-ns), 139 (TCP, smb) 445 (TCP, Microsoft Domain Service)
Web server 8055, 6680
#mpd 6600

554 rtsp, airplay

If all this succeeds, that integrates into this in my website.

If it does not work, I’m grateful to you

Ivan FLO

Sorry for the bold letters. I cpoyed out of Notepad. It is not my intension to shout. Sorry.

But more important, it WORKS,

The rest is up to me, embeded in my website.
So I will embeded “local-mopidy-ip:8055” into my site.

Advandage => It works on 80 AND 8055

A very greatfull Ivan FLO

one little issue, the music plays local…

But with VLC-Streamen schould that be no problem,… I think.

I was thinking, hence my headache, actually I do not have to have an Internet Radio Raspberry at home!
Linking another raspberry (with HAT) to stream to my car.

And with a hawei mifi, I have music everywhere …
The best solution is sometimes the simplest.

Additionally, I have an SDR-RTL running on an Odroid, I receive the Belgian channels …

Thank you everyone who read the post and helped thinking.

I do not even need my Odroid RTL-SDR.

Sincerely.

Ivan FLO