You are not logged in.
Hi everyone,
I've installed airsonic (address http://localhost:8080/airsonic) and it seems to be working well on my Arch box, but when I try to connect the webbrowser on my phone or try to connect via one of the compatible apps for playing music, localhost refuses the connection. I can't even connect on my own computer. When I type 'wget localhost:8080' I get:
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8080... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
I'm total noob when it comes to server issues and I've tried to figure this out for hours by googling but I can't figure out what the problem is. Any help would be appreciated.
Thanks in advance
Offline
You do realize that localhost is a pretend network that only has one computer on it? You can use that when a client and a server are on the same machine allowing the client to reach the server without using a real network?
When you refer to localhost on the phone, the client will look for a server running on the phone; not another computer someplace.
Instead of localhost, use the host name of your computer -- or the IP address of your computer.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hi ewaller,
Thanks for your reply. I used the host name and it's worked fine!
Thanks for pointing me in the right direction, much appreciated.
Last edited by Wisdom Moon (2019-04-15 18:29:08)
Offline