Page 1 of 4

yet another connection issue

PostPosted: Fri Dec 31, 2010 5:37 am
by yoyo
I am using port 8080, which is open for my ISP. I have this forwarded in my router (have tried both UPnP and directly specifying configuration)

my mobile cannot connect, i get "network error occurred"

in the webpage accessed from the server (127.0.0.1:8080), I look at "Settings->Network" and am getting "Status: Successfully forwarding port 8080.
*hostname.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)"

Opening my *hostname.subsonic.org:8080 on my mobile gives "web page not available" error

i tried with *mycurrentIP:8080 and that also give "A network error occured"

If i am on my home wifi, I can connect only using my ip address, not subsonic server.

I can connect to the demo server.

Using amd64 ubuntu 10.10. (note: i installed the .deb. I checked and the subsonic service is running but i don't see a system tray Icon, is that right? I edited ports via the /etc/default/subsonic file)

PostPosted: Fri Dec 31, 2010 6:01 am
by alphawave7
canyouseeme.org is showing 8080 open for you?

PostPosted: Fri Dec 31, 2010 6:47 am
by yoyo
Yes, provided i have the subsonic process running.

PostPosted: Fri Dec 31, 2010 7:13 am
by alphawave7
yoyo wrote:Yes, provided i have the subsonic process running.


The org addy is still showing 4040, so did you just change the port recently? I think you'll need to leave SS running overnight/24 hours to get it to update your IP/port. The port forwards net-check runs every hour, but the .org update runs nightly, IIRC. Start SS, and I'll see if I can see it or the port..

PostPosted: Fri Dec 31, 2010 7:35 am
by yoyo
oh, I didn't realize that. I have been flipping port/router settings/configurations all evening. I will give it a day or two to update.

How does that work for dynamic IPs? If my computer restarts, it will take a day to get my new ip?

PostPosted: Fri Dec 31, 2010 7:52 am
by alphawave7
yoyo wrote:oh, I didn't realize that. I have been flipping port/router settings/configurations all evening. I will give it a day or two to update.

How does that work for dynamic IPs? If my computer restarts, it will take a day to get my new ip?


Most ISP's give your modem/router an IP via dhcp, and you can keep that for a VERY long time, provided they don't reset it either manually or automatically. I have rebooted my modem/router several times, and the same public IP persisted. Other times, a reboot caused a new IP delegation, so it's hit or miss. Rebooting your computer/lan devices should have no impact whatsoever on your public, ISP-provided IP. If you get an new IP upon router reboot, it may take SS a day to get it's update. :)

edit: I've seen some suggestions that toggling the check box for 'use easy address' clicking 'save' between changes can manually prompt an update, but I haven't confirmed it, since mine works. :p Worth a try, though..and report back if it does!

PostPosted: Fri Dec 31, 2010 4:30 pm
by yoyo
Oughtn't I be able to connect using my ip address though?

PostPosted: Fri Dec 31, 2010 10:42 pm
by alphawave7
yoyo wrote:Oughtn't I be able to connect using my ip address though?


Canyouseeme will determine if your chosen port is visible externally. Using SS's .org address defaults to your local subnet address when queried inside your lan/wlan. This morning, it still shows SS.org is trying 4040.

PostPosted: Sun Jan 02, 2011 1:23 am
by yoyo
alphawave7 wrote:
yoyo wrote:Oughtn't I be able to connect using my ip address though?


Canyouseeme will determine if your chosen port is visible externally. Using SS's .org address defaults to your local subnet address when queried inside your lan/wlan. This morning, it still shows SS.org is trying 4040.


I have managed to connect from my mobile (on the internet) using ipaddress:8080 by turning off UPNP on subsonic and manually forwarding 8080 on my router. I have a Rosewill RNX-EasyN4, maybe it does not play well with subsonic's UPNP. I will give the subsonic server a few days and then maybe it will foward correctly.

PostPosted: Tue Jan 04, 2011 6:08 am
by jerryyyyy
If canyouseeme.org cannot see port set (8080) that means my router is blocking it? Says I am registered.l

PostPosted: Tue Jan 04, 2011 6:12 am
by alphawave7
jerryyyyy wrote:If canyouseeme.org cannot see port set (8080) that means my router is blocking it? Says I am registered.l


Did you donate? AFAIK, that is what 'registered' means..in reference to your .org address. Your IP shows no 8080 port open, btw.

PostPosted: Tue Jan 04, 2011 3:53 pm
by jerryyyyy
alphawave7 wrote:
jerryyyyy wrote:If canyouseeme.org cannot see port set (8080) that means my router is blocking it? Says I am registered.l


Did you donate? AFAIK, that is what 'registered' means..in reference to your .org address. Your IP shows no 8080 port open, btw.


Is this in reference to me? Last night I configured another home computer to hopefully act as a server. I set up a separate account to start from scratch and used port 8080. I also enabled the automatic port forwarding. It said both worked, but I do not see the stream?

I am also trying to see the server from work using "SubAir" and connect connect.

PostPosted: Wed Jan 05, 2011 5:04 am
by alphawave7
Your router may not be one that responds to the automated UPnP configuration attempt. Study your router's manual to manually open port 8080. NMAP still shows no port normally associated with SS as open.

PostPosted: Wed Jan 05, 2011 5:51 am
by GJ51
http://monroeworld.com/android/subsonic/

Don't use Plug and Pray, it seldom works.

Never use port 80

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHC, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080, 8081, etc.

Set up port forwarding in your router to direct traffic on the selected port to your server.

Learn your external IP address assigned by your ISP.

Test your setup by entering your external IP:port# to see if it connects. e.g.

http://24.88.76.61:4040/

If it works, you're good to go.

PostPosted: Wed Jan 05, 2011 3:28 pm
by jerryyyyy
GJ51 wrote:http://monroeworld.com/android/subsonic/

Don't use Plug and Pray, it seldom works.

Never use port 80

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHC, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080, 8081, etc.

Set up port forwarding in your router to direct traffic on the selected port to your server.

Learn your external IP address assigned by your ISP.

Test your setup by entering your external IP:port# to see if it connects. e.g.

http://24.88.76.61:4040/

If it works, you're good to go.


Thanks. I checked it last night again before I read this. I assume I need to get out the router manual and figure this out in detail and that the automatic settings just do not work. This is a quote from the admin web page:

QQQQQQQQQQQQQQQQQQQQQQQ

Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding).

If your router can't be configured automatically you can set it up manually. Follow the instructions on portforward.com. You must forward port 8080 to the computer running the Subsonic server.

Status: Successfully forwarding port 8080.

Access your server over the Internet using an easy-to-remember address.

http://XXXXXX.subsonic.org

Status: Successfully registered web address.

QQQQQQQQQQQQQQQQQQQQQQ

But when I use canyouseeme.org from the server it does not see 8080, which I guess confirms this must be done manually.