-
Notifications
You must be signed in to change notification settings - Fork 47
Is there a way to run propertly on a server instead of localhost? #94
Comments
The exact error is: |
I have a web client at http://torrenttunes.ml, the code for it being at https://github.com/tchoulihan/torrenttunes-server. Overall though, I'd need to figure out your use case, because the server is mainly to act as a search engine for the songs that everyone has shared, while the client is meant to be a way to share and play the songs you have on your own machine. The reason you are getting that error message, is because torrenttunes-client is making AJAX calls to localhost. |
Well, my use case is to have a torrenttunes running in my mini-server at home, sharing all my music. And be able to play the collection from work without having to install anything, just opening web browser pointing to my server's torrenttunes. You can see the torrenttunes docker project here: https://github.com/gtrias/torrenttunes-docker |
There are two different clients, one is the java app/command line client, and the other is the site. Is there any reason why you can't install the java app at work, or just go to the website? Your mini-server at home will be seeding those songs, both to the server, and to any potential apps. What I also do when I'm at work, is just go to the site, and just download the zips with torrents of the discographies and albums onto my phone, torrent them with an android torrent program that can watch folders with .torrent files like flud, and then use my phone as my main music driver. I might be able to add a command-line tag to point to a custom url so that the AJAX calls could be made to some place other than localhost, but it seems a lot worse than just running the app locally. |
I'm trying to make a docker image of torrenttunes-client but I'm facing problems running from other computer than localhost.
It doesn't play any song from my server pointing to its ip with port. It says TorrentTunes is not running but it is. If I do a ssh forwarding to "fake" system as it would be installed on localhost and open from
localhost:4568
it works fine.What is the correct way to run on a external server?
The text was updated successfully, but these errors were encountered: