Server setup went fine but can't connect from EVO

Need help? Post your questions here.

Moderator: moderators

Server setup went fine but can't connect from EVO

Postby werewolves » Wed Jun 09, 2010 11:54 pm

I am running Ubuntu 9.10 on the server end, and an HTC EVO on the phone end.

I installed the server, and everything went fine. Page loaded fine on port 4040, and setup went fine. I have two status messages on the network page saying that automatic port forwarding was successful, and that the web address was set up.

Unfortunately, when I try to connect from my EVO I get a "socket not connected" error.

I'm not sure what I'm doing wrong.

I have my "server address" as "http://****.subsonic.org". Do I need to put the ":4040" on the end? I tried it, but it didn't work either.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby werewolves » Thu Jun 10, 2010 1:38 pm

If it helps, I've got Tonido installed, and I didn't have to do any kind of manual port forwarding on that, so I don't thinks it's my machine or router.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby werewolves » Fri Jun 11, 2010 1:15 pm

No suggestions at all?
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby mongofrye » Fri Jun 11, 2010 4:20 pm

I also have an evo and have the same problem.

I am using the android app. I can't connect from any computer or device unless i am on my local network. i don't think its my evo

I try to port forward to 80 but that say it is in use. I believe it is in use by my upnp server and can't be changed.

can i change the port subsonic uses?
mongofrye
 
Posts: 1
Joined: Fri Jun 11, 2010 4:17 pm

Postby werewolves » Fri Jun 11, 2010 6:27 pm

Yeah, I tried changing the server port to 80, and it said that was successful too, but I still couldn't connect from my EVO.

I can connect to the Demo server from the EVO, so I don't think it's an EVO problem.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby wattershed » Fri Jun 11, 2010 6:39 pm

werewolves wrote:Yeah, I tried changing the server port to 80, and it said that was successful too, but I still couldn't connect from my EVO.

I can connect to the Demo server from the EVO, so I don't think it's an EVO problem.


You'd almost definitely need the :4040 on the end.

Mongofrye, you can change the port Subsonic uses via the tray icon, and go from there. Proper port forwarding is, of course, necessary.
wattershed
 
Posts: 22
Joined: Sun Mar 14, 2010 8:36 am

Postby werewolves » Fri Jun 11, 2010 7:08 pm

wattershed wrote:You'd almost definitely need the :4040 on the end.


OK, I just downloaded the latest update on my EVO.

I set my server to "http://****.subsonic.org:4040", entered username and password (double checked).

Now I get "Connection Failure: Connection to http://****.subsonic.org:4040 refused"
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby werewolves » Fri Jun 11, 2010 7:13 pm

PS: I can ping my subsonic.org address....
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby wattershed » Fri Jun 11, 2010 7:33 pm

In the tool tray app (subsonic-agent.exe), in the path to Subsonic, what do you have? Is it blank, or do you have /subsonic in there? If you have anything in the path, append that to your URL, to make it http://user.subsonic.org:4040/subsonic

(I'm doing this blind from work so if I'm calling things by the wrong name my apologies)

Beyond that, triple-check that the username/password are correct (sometimes phones are goofy like that, autocorrecting passwords and stupid stuff along those lines), and that the port forwarding is ok.

Try another port, too, if nothing else works. You'd have to do some digging to see if Sprint's got any ports blocked, but experimenting with other ports might do the trick.

Also, does it work on your internal WiFi (if you have it)? Figuring out if it's a WiFi vs 3G/4G thing might help too.
wattershed
 
Posts: 22
Joined: Sun Mar 14, 2010 8:36 am

Postby werewolves » Fri Jun 11, 2010 7:37 pm

OK, great, I'll check all of that when I get home, I'm at work too.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby werewolves » Sat Jun 12, 2010 3:55 am

OK, a little more info. I tried changing the port to 80 and then 10005.

In both cases, it tells me that the port is forwarded successfully. However, the registering server section says:
"Status: ****.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)"

I am running the Ubuntu Karmic version, so there is no "subsonic-agent.exe". Is there an equivalent place to look under Linux?

-----

If I turn on the WiFi, and set my server to 10.10.10.10:10005 (while in my house), it connects fine and streams fine.

If I set it to my external address (173.50.xxx.xxx:10005), while on WiFi, I get: "Connection Failure: Connection to http://****.subsonic.org:10005 refused"

If I switch it to 3G, I get "Connection failure. Socket is not connected."

-----

I pretty much got similar results with port 80, although I did at one point get : "Connection failure. Didn't understand the reply. Please check the server address." But I honestly can't recall what part of testing gave that message.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby wattershed » Sat Jun 12, 2010 4:30 am

The fact that it works on wifi from within your network but not on wifi or 3g from outside of it screams "permissions" to me.

Do you happen to have any other web apps running on your server which you could, perhaps, connect to via wifi/3g from outside your network? Like a torrent web interface, webcam, etc? Just to make sure you can get to other things set up like Subsonic?

As a Sprint user I know that they don't really restrict ports, so I'd be hard-pressed to imagine a situation where it's being blocked from the client side for any reason whatsoever.

I don't know linux too well but if you can get another webapp up & running and access it via the Evo that might help in figuring out where the issue lies.
wattershed
 
Posts: 22
Joined: Sun Mar 14, 2010 8:36 am

Postby werewolves » Sat Jun 12, 2010 6:27 am

I have Tonido set up and running fine. I can access it from my web browser on the EVO just fine. Tonido operates very much like Subsonic. You get a static web address (****.tonidoid.com), and it automatically forwards your ports through the router.

I've also had no problems with Bittorent when I downloaded Linux .iso files.
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Postby baskie » Mon Jun 14, 2010 2:34 pm

I had this problem on Debian another flavor of ubuntu. What I found out is that the App on the EVO(droid) in general only looks for servers on port 80. I had to vi /usr/bin/subsonic and change the 4040 to 80 at the top of that file so the app could connect. If you have to type http://domain.com:4040 then the app will not connect. You must get it to where you can get to the login screen by typing http://domain.com

edit: make sure to restart the server after you make this change and give it about 30 seconds for it to start up completely! :)

Hope this helps
baskie
 
Posts: 14
Joined: Fri Jun 11, 2010 4:41 pm

Postby werewolves » Mon Jun 14, 2010 4:04 pm

Well, Ubuntu is actually a flavor of Debian, but I digress, LOL.

So just to be sure what you are saying, I need to edit the file on my server, my Ubuntu machine. And I edit "/usr/bin/subsonic" not "/etc/default/subsonic"? I'm at work, but I just want to make sure I have it right for when I go home.

I've tried editing "/etc/default/subsonic" as described here: "http://www.subsonic.org/pages/installation.jsp#debian", but it didn't seem to help.

I'll look for the other file tonight.

Thanks
werewolves
 
Posts: 15
Joined: Wed Jun 09, 2010 11:25 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests