Port Forwarding / Remote Access Works, subsonic.org Does Not

Need help? Post your questions here.

Moderator: moderators

Port Forwarding / Remote Access Works, subsonic.org Does Not

Postby BrianB » Thu May 06, 2010 2:28 am

I can get the port forwarding to work and I can access subsonic remotely via myipaddress:4040, but I can not get the registered subsonic.org address to work. I have donated and the address is registered, but I get the "username.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)" error when I test it.

If I have port forwarding functioning and I have a licensed version of subsonic, what would keep the personalized subsonic.org address from working?
BrianB
 
Posts: 5
Joined: Thu May 06, 2010 2:21 am

Postby sindre_mehus » Thu May 06, 2010 6:49 am

You could try to enter http://username.subsonic.org in a browser outside you local network and see what IP address the browser is forwarded to.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby BrianB » Thu May 06, 2010 3:18 pm

It looks like it is pointing to correct and current ip. It doesn't list the port (4040). Should it?
BrianB
 
Posts: 5
Joined: Thu May 06, 2010 2:21 am

Postby sindre_mehus » Thu May 06, 2010 6:31 pm

Yes it should use port 4040 for it to work.

If you're using version 3.9, please make sure that the "public port" in Settings > Network is set to 4040 (even it the option for automatic port forwarding is disabled).

Alternatively, upgrade to 4.0.beta2.

Hope this helps
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby BrianB » Thu May 06, 2010 10:12 pm

That did it, thanks. It was set to 80 (which is the default, maybe?).
BrianB
 
Posts: 5
Joined: Thu May 06, 2010 2:21 am

Postby wdpaynter » Fri May 07, 2010 2:14 pm

I have my setup using the "myaddress.subsonic.org" method and have my router setup to forward port 80 to my machines ip address 192.168.1.103 - all works well locally and remotely

Recently my local machine's (server) ip address changed to 192.169.1.102 and I was unable to access remotely until I changed the ip in my router config to .102

I thought the subsonic.org domain was intended to handle this so that it would work automatically. Did I do something wrong?

Please help, I will provide any other details that are required.
Thanks
BP
wdpaynter
 
Posts: 44
Joined: Mon Apr 26, 2010 9:14 pm

Postby wraithdu » Fri May 07, 2010 3:06 pm

@wdpaynter
The subsonic address, as well as any other dynamic IP service (No-IP, DynDns), only gets you as far as your external IP address. Subsonic's address goes one step further and tacks on an external port number to that forwarding. But once there, it's up to you and your router to correctly route your internal network traffic.

@sindre
Using your suggestion about the public port setting got the subsonic address working for me. If you remember, I have different internal and external ports on my network. However the box about using UPnP has to be checked for it to work, even though I have UPnP disabled on my network and the subsonic server never actually finds the router.

I seem to remember you saying somewhere that this procedure has changed in Subsonic 4. Will I still be able to set my external port for my subsonic address somehow?
wraithdu
 
Posts: 50
Joined: Thu Apr 01, 2010 10:34 pm

Postby wdpaynter » Fri May 07, 2010 3:27 pm

I appreciate the response, but am now even more confused (I apologize for my ignorance). Everything is set up fine and works until I shut down or restart my PC and my router gives me a new IP address. Is there something I need to do in my router settings to allow my subsonic.org domain to update the change in IP address?

Thanks
BP
wdpaynter
 
Posts: 44
Joined: Mon Apr 26, 2010 9:14 pm

Postby sindre_mehus » Fri May 07, 2010 4:05 pm

wdpaynter wrote:I appreciate the response, but am now even more confused (I apologize for my ignorance). Everything is set up fine and works until I shut down or restart my PC and my router gives me a new IP address. Is there something I need to do in my router settings to allow my subsonic.org domain to update the change in IP address?


There are two IP addresses in question here:

1. Your public IP as assigned by your internet service provider. The subsonic.org forwarding service takes care of this.

2. The internal IP address of your Subsonic server (192.168.1.xxx). Normally your router assigns this (using DHCP) when you boot the computer.

To solve #2 you basically have two options: The easiest is to use the "automatic port forwarding" feature in Settings > Network. Subsonic will then automatically tell the router which IP address it has. Alternatively you can change the settings on your computer to use a static IP. Instructions for the latter is found here.

Regards,
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby wdpaynter » Sat May 08, 2010 1:52 am

Sindre

I've always had the automatic checked in network settings. Is there something that it or I may have done wrong? Is there a way I can test what will happen if my PC that is used as a server's IP address changes? (force a change or something just to test) - I have my router (Linksys) forwarding port 80 for IP 192.168.1.102 (was .103 previously)

I would rather not set up a static IP, as I have many PCs/devices on my home network and do not want any conflicts.

Thanks
BP
wdpaynter
 
Posts: 44
Joined: Mon Apr 26, 2010 9:14 pm

Postby wraithdu » Sat May 08, 2010 5:24 am

For automatic forwarding to work, you need to

1) remove the manual port forwarding
2) make sure UPnP is ENABLED in your router's settings

You can avoid IP conflicts by setting your router's DHCP range outside of your static IP range. For example, set your router's DHCP range to xxx.xxx.xxx.150 to xxx.xxx.xxx.255, then you can assign any static IPs from xxx.xxx.xxx.1-149.
wraithdu
 
Posts: 50
Joined: Thu Apr 01, 2010 10:34 pm

Postby wdpaynter » Sat May 08, 2010 2:49 pm

OK, i disabled the manual forwarding and UPnP is (and has always been) enabled.

I still connect locally by this method, but when I tested using iSub on my iphone using 3G (disabled wireless to get off LAN), It will not connect. I use my address within the app "myaddress.subsonic.org:80

I'm confused and appreciate everyone's help.
Thanks
BP
wdpaynter
 
Posts: 44
Joined: Mon Apr 26, 2010 9:14 pm

Postby wraithdu » Sun May 09, 2010 6:45 pm

When you set up you subdomain name, did you correctly set your external port number? Does the 'Test' link succeed next to your subdomain?

If your router is a Linksys, you might have to reboot it and your computer. I've noticed UPnP randomly stops working on some Linksys routers for no reason. That's why I just disabled it.
wraithdu
 
Posts: 50
Joined: Thu Apr 01, 2010 10:34 pm

Postby wdpaynter » Sun May 09, 2010 9:42 pm

I am fairly certain that I have the port handled correctly, as everything works both locally and remotely. (It is only when my server pc's ip changes that I have problems and have to manually change the ip in my liksys settings page)

I have rebooted my pc mutiple times. When you say to reboot the router, do you mean just unplug, wait, and plug back in? I'd rather not use the reset button, as I have a lot of settings that work well with other things on my network.

Thanks again for your help.
BP
wdpaynter
 
Posts: 44
Joined: Mon Apr 26, 2010 9:14 pm

Postby wraithdu » Mon May 10, 2010 6:34 pm

Yeah, just unplug the router and plug it back in. NOT a reset. You might have to reboot your computer after the router comes back up just so all your networked programs can restart and do their UPnP thing. If it still doesn't work, then UPnP is not working correctly on your computer / router. It can be a pain to get working sometimes.

Try the UPnPTest program from this site: http://www.mgillespie.plus.com/
Or UPNPTest2 from this site: http://www.zultrax.com/forward-port/upnp.htm
wraithdu
 
Posts: 50
Joined: Thu Apr 01, 2010 10:34 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests