Page 1 of 1

Unable to connect outside of LAN

PostPosted: Fri Nov 28, 2014 6:00 pm
by moleman
I'm new to Subsonic and somewhat computer savvy. I have installed Subonic 5 on an old laptop running Ubuntu 14.04 LTS with Java 7 and fully updated, ripped a few CDs (to test the whole service). I have downloaded iSub Lite and SubStream iOS apps on my iPhone 4S running iOS 6.1.3. I can stream music from inside my LAN fine (although don't get album art), but not outside or over 4G. Keep getting "Server unavailable..." error.

My home router is a Netgear WNR2000v3 and Subsonic auto configure says "Successfully forwarding port 4040." However, open port software {http://www.yougetsignal.com/tools/open-ports/} says port forwarding is not occurring. So I've logged in to my router and manually setup port forwarding for ports 80 and 4040, then rebooted my router. Still port forwarding software says port forwarding is not occurring. I did also test both times by trying to connect via 4G with iOS apps and got the same error message mentioned above. I do have Gufw Firewall installed on my Ubuntu laptop, but it is and has been disabled through all of this. Really getting frustrated and can't seem to think of what to try next. Anybody got any ideas?

Re: Unable to connect outside of LAN

PostPosted: Fri Nov 28, 2014 9:58 pm
by Jonno2k
Who's your ISP and are you sure they are not blocking ports? I'm in Canada and Telus blocks common ports whereas Shaw does not.

Re: Unable to connect outside of LAN

PostPosted: Sat Nov 29, 2014 1:52 am
by moleman
My ISP is Time Warner Cable in the US. Is there a way to find out if they do block certain ports (found info online that suggests both yes and no)? Would you recommend I try other random ports? I'd hate to randomly pick other ports only to find I keep choosing ports they are blocking. Any suggestion on a range of ports to try that it is highly unlikely are blocked would be much appreciated. I did find this Wiki site that listed currently used ports {http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers}. So if I guess, should I pick something NOT on this list?

Still open to another forum user who has insight into what else might be wrong.

Re: Unable to connect outside of LAN

PostPosted: Thu Dec 04, 2014 3:23 am
by Jonno2k
Go to www.grc.com and try the Shields-Up utility. Do a port scan and see if 80/8080/etc whatever ports you *think* should be open actually are.

Re: Unable to connect outside of LAN

PostPosted: Thu Dec 04, 2014 3:24 am
by alphawave7
Jonno2k wrote:Go to http://www.grc.com and try the Shields-Up utility. Do a port scan and see if 80/8080/etc whatever ports you *think* should be open actually are.


Faster to go to canyouseeme.org and test the particular port directly... 8)

Re: Unable to connect outside of LAN

PostPosted: Thu Dec 04, 2014 4:01 am
by Jonno2k
Sure, the more tools the merrier :D GRC allows you to check individual ports as well but if you're not sure what port you want or if you want to see a range, I prefer it to canyouseeme. It also indicates if the port is Open, Closed, or Stealth (ie: doesn't exist). Sometimes it's nice to know if you have a closed port rather than a stealth one meaning your system is saying "ya, there's a port here but I'm not using it" rather than "nothing to see here, move along".

Re: Unable to connect outside of LAN

PostPosted: Sat Dec 06, 2014 1:19 am
by gurutech
You need to make sure 100% that your router is actually forwarding port 4040 to the IP address of your Subsonic server. Just because the Subsonic service says it's successfully forwarded, doesn't mean that it is.

You also need to unblock port 4040 on your Linux server (ie. open the port on your iptables firewall).

Re: Unable to connect outside of LAN

PostPosted: Sat Dec 06, 2014 7:59 am
by IdiotProof
Have you try to connect from wan in SSL by HTTPS://my.adress.ip:4440 ? if you have a leased IP use a DYNDNS like service, to have something like https://my.dyndnslike.org:4440, since I'd authorized SSL only in parameters, I can't reach my Subsonic server by my subsonic account, check in router that you have both protocols (TCP/UDP) enabled on your port forwarding.

Re: Unable to connect outside of LAN

PostPosted: Sat Dec 06, 2014 5:04 pm
by moleman
Jonno2k wrote:I prefer it to canyouseeme. It also indicates if the port is Open, Closed, or Stealth (ie: doesn't exist). Sometimes it's nice to know if you have a closed port rather than a stealth one meaning your system is saying "ya, there's a port here but I'm not using it" rather than "nothing to see here, move along".


I checked port 4040 with both grc and canyouseeme.org. Canyouseeme.org said it wasn't visible (Error: I could NOT see your service...connection timed out). Grc said the port was stealth (it said every port it checked on my computer was stealth). My firewall does have port 4040 listed in "open" and is set to TCP "Allow in anywhere."

Since my original post I grew frustrated and searched the internet for another service that might work on my Linux computer in the same fashion. I found Tonido (http://www.tonido.com). I was able to set it up rather quickly and it is working outside of my LAN just fine. It uses a different port. I checked that port, out of curiosity, with port 4040 and canyouseeme.org said it also wasn't visible (Error: I could NOT see your service...connection timed out). Grc gave it a stealth rating. This doesn't make any sense to me.