Comments (5)
The answer is, as with many things in life, "it depends". If you're running it on your home computer then you will have to expose it to the internet and this is relatively easy if you have a static IP. You will have to ask your ISP for that if you don't know what I am talking about. If you don't have a static IP then it gets a little bit harder but still, it is possible.
The first step, either way, is to make sure the Euterpe server is listening on your network interface. Which you could do by configuring the listen
address to something like 0.0.0.0:9996
. So your config.json will become similar to
{
"listen": "0.0.0.0:9996",
// other stuff we don't care about at the moment
}
After editing the file restart Euterpe. This will make sure it listens on port 9996 for all network interfaces. By default this is disabled and set to only listening to localhost
for security reasons. It prevents you from accidentally leaking your music or opening up network ports to the wide world. You do that explicitly by editing the config.json
.
If you are running Euterpe on a machine that is facing the public internet then that's it! You can go to http://<your-machine-public-ip>:9996
and you would see the web interface. Such machines are typically servers or virtual machines on public clouds as you suggested.
But probably you are using a home network and your router is doing NAT for you. Then you will have to go into its configuration and search for something like "Port Forwarding" or "Port Triggering", or something very similar. In there make a rule to forward port 9996 TCP traffic to your home machine's (the one which runs Euterpe) IP on the same port 9996. Once that is done you could go to http://<your-static-IP>:9996
and you would see the web interface, assuming you have a static IP for this router as discussed above.
If you don't have a public IP then you will have to use a service such as https://www.noip.com/. It requires cooperation between your router and the service and probably some account. There's documentation on the noip.com website for that. Once this is done you will have your Euterpe exposed to the internet through the noip method. Follow their documentation to find out what address you could use. Of course, there are other providers of the same service, for example dyn. Choose whichever you like most or whichever has an integration with your router.
That's it 😅 Of course, if you already have a web server under your control running anywhere then you could decide to run Euterpe behind. Here's the docs for Nginx and Apache which explain how you do that. This has the benefit that you won't have to open additional ports to the internet.
I hope this is not too much! I am considering switching the default listening address for Euterpe to 0.0.0.0:9996
anyway in the future. Which will make the first step, editing config.json
, unnecessary.
from euterpe.
Actually, I went ahead and published this answer to the website. Thank you for the good question 😃
from euterpe.
Thanks for the quick and descriptive answer .I'm really impressed by the simplicity of you app.Thanks a lot.
from euterpe.
The link to website you linked seems to be wrong.
from euterpe.
Oh, you're right. Fixed it. It seems I pasted the wrong like from the dev version of the site 😅 And thank you for the kind words! ♥
from euterpe.
Related Issues (20)
- [Web player] Unexpected Shuffle button behaviour HOT 1
- API Feature request - Qerying of folder structure and request songs by path HOT 2
- XDG compliance HOT 1
- Help to setup the dev environment HOT 2
- Add an GitHub Action check for generated files
- Error while scanning .opus-files in library HOT 2
- Error generating JWT: jwt.(Signer).Sign: HMAC key is empty. HOT 2
- Euterpe not starting (WebUI) after mounting '/root/.euterpe' HOT 3
- DLNA option 😍 HOT 1
- Sort by "Album Artist" instead of "Artist"
- Caching proxy HOT 2
- Apple TV app HOT 5
- Can Euterpe run on a NAS? HOT 1
- Set loop or random by default HOT 3
- Playing .flac files on EUTERPE HOT 6
- euterpe only works with old release of ICU
- error while loading libtag_c.so.0 HOT 2
- Image for arm architecture? HOT 1
- [Feature request]: Avoid resampling: play bit perfect audio HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from euterpe.