remote connection

Need help? Post your questions here.

Moderator: moderators

Re: remote connection

Postby pinkmoon » Wed Mar 26, 2014 1:55 pm

Very interesting. Did wonder if it might be something to do with the firewall - but weird re 3g only. I recently had similar issue with another app, which seemed to be caused by my isp blocking the domain the app used to get data. Can't see how that would be the case here though - but who knows?! :S
pinkmoon
 
Posts: 47
Joined: Mon Aug 30, 2010 9:15 am

Re: remote connection

Postby alphawave7 » Wed Mar 26, 2014 1:58 pm

An IP has changed...either lan or wan. Set static IP on server then open the port manually on your router using your router's manual. Test port on canyouseeme.org.

Sent from my Nexus 5 using Tapatalk
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: remote connection

Postby jaggyjim » Wed Mar 26, 2014 2:37 pm

How do I set static IP on server?
jaggyjim
 
Posts: 9
Joined: Thu Jan 30, 2014 4:13 pm

Re: remote connection

Postby pinkmoon » Wed Mar 26, 2014 2:43 pm

My question exactly! :) Either way, does this imply ISP changed something and we need to patch it (don't recall having yo do so in the past with similar apparent issue)..?
pinkmoon
 
Posts: 47
Joined: Mon Aug 30, 2010 9:15 am

Re: remote connection

Postby GJ51 » Wed Mar 26, 2014 3:59 pm

You set the static IP on the adapter settings of the host machine where you installed Subsonic. On the router you set an address reservation if you think it necessary, but usually it's not an issue.

In Windows, you go to Control Panel, Network and Sharing Center, and then in the left column select "Change Adapter Settings." Click on the Local Area Connection icon. Click Properties. Highlight ipv4 then click Properties again on that panlel. Here is where you define the Properties for the ip address for the host machine.

As described in the Tutorial section, I recommend using an IP address at the upper end of the range used by the router as doing so will usually avoid conflicts with DCHP assignments made by the router.

Typically on a "normal" home network environment you'll use something like 192.168.1.25X - X being lower than 5 as most residential networks operate between 192.168.1 - 192.168.1.254

Your router will typically occupy 192.168.1.1 or 0 and 192.168.1.255 is used for muticast if enabled. Routers usually, but not always, assign ip addresses from the low end of the range and select sequentially from the bottom up. I have seen and used DD-WRT software that actually selects from the middle of the range, but I wouldn't expect that on most routers OOB from the mfgr. Reading your router's manual is the only way to know for sure, but selecting an address not likly to conflict with DCHP is the appropriate strategy for stability.

Once you have the server's LOCAL ip address configured, adjust and test your port forwarding accordingly.

As mentioned hundreds of times in this forum, you CANNOT connect from outside your network if you do not pass the http://canyouseeme.org Open Port Check.

If you pass the port check test, then all you should have to do is resend the info to Subsonic.org by going into Subsonic locally, open Settings/Network and click on the Save button. Doing so transmits your EXTERNAL IP and the port number used by Subsonic to Subsonic.org where it is then registered with your vanity address name.

If your phone connects over 3g, but not over Wifi, then your router doesn't handle "loopback" addresses properly and you will have to use the internal address and port number when on wifi as opposed to the vanity address used when you're on 3g or on an external wifi connection. Just treat it like a new server entry in the phone app but use the internal address:port number in the settings.

If your EXTERNAL IP address gets changed by your ISP you only need to do the Settings/Network Save routine to refresh the data at Subsonic.org. If you don't do it manually, Subsonic should do it automatically every 2 hours if anything has changed.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: remote connection

Postby pinkmoon » Thu Mar 27, 2014 12:59 am

OK. Quick update. Have been struggling with this for well over an hour now and life is tragically short, so below is where I'm at..

- have manually set the local IP to static address in Windows Network Adapter IP4 properties/config (used to do this years ago for some reason, but never had to for quite some time; either way AOK.. although wasn't sure what to set DNS to as router showed this as dynamic from my ISP, with greyed out manual settings which is what I used)
- couldn't seem to manually set either static IP or DNS in the router (went through the motions but after I hit save and it reloaded settings appeared the same)
- have tried to uncheck the "auto configure" option in Subsonic, but this either makes no difference or shows 'port forwarding disabled' (does it matter if this is set to enabled but I also have portforwarding setup manually in the router config?)

As it now stands, I can access Subsonic locally via URL of static IP address and forwarded port (i.e. 192.168.2.6:4040). Can also access *locally* using my friendly URL (pinkmoon.subsonic.org), only when I type this in on my server/local PC it reverts to the 192.. address and not my external WAN address. Could this be significant in any way..?

Goes without saying that I'm still getting timeout on canyouseeme.org, as well as in the friendly URL section of subsonic network settings (which otherwise says 'Successfully forwarding port 4040'), although for some reason sometimes/now just says 'Successfully registered web address.' Go figure..?! :roll:

Anyway, really starting to give up again now, as feels like I'm just going round in circles like I have done in the past on a number of occasions like this - which I have a funny feeling in the end resolved itself somehow (and was possibly due to java or subsonic updates).

Any final thoughts..?

Yours in desperation.. :cry:
pinkmoon
 
Posts: 47
Joined: Mon Aug 30, 2010 9:15 am

Re: remote connection

Postby alphawave7 » Thu Mar 27, 2014 1:04 am

pinkmoon wrote:OK. Quick update. Have been struggling with this for well over an hour now and life is tragically short, so below is where I'm at..

- have manually set the local IP to static address in Windows Network Adapter IP4 properties/config (used to do this years ago for some reason, but never had to for quite some time; either way AOK.. although wasn't sure what to set DNS to as router showed this as dynamic from my ISP, with greyed out manual settings which is what I used)
- couldn't seem to manually set either static IP or DNS in the router (went through the motions but after I hit save and it reloaded settings appeared the same)
- have tried to uncheck the "auto configure" option in Subsonic, but this either makes no difference or shows 'port forwarding disabled' (does it matter if this is set to enabled but I also have portforwarding setup manually in the router config?)

As it now stands, I can access Subsonic locally via URL of static IP address and forwarded port (i.e. 192.168.2.6:4040). Can also access *locally* using my friendly URL (pinkmoon.subsonic.org), only when I type this in on my server/local PC it reverts to the 192.. address and not my external WAN address. Could this be significant in any way..?

Goes without saying that I'm still getting timeout on canyouseeme.org, as well as in the friendly URL section of subsonic network settings (which otherwise says 'Successfully forwarding port 4040'), although for some reason sometimes/now just says 'Successfully registered web address.' Go figure..?! :roll:

Anyway, really starting to give up again now, as feels like I'm just going round in circles like I have done in the past on a number of occasions like this - which I have a funny feeling in the end resolved itself somehow (and was possibly due to java or subsonic updates).

Any final thoughts..?

Yours in desperation.. :cry:


Give up! Never!
You're almost there... there router port is all that remains..follow the manuals routine for 4040 and once changed reboot router and test with canyouseeme.org. It will take after a few attempts.

Sent from my Nexus 5 using Tapatalk
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: remote connection

Postby alphawave7 » Thu Mar 27, 2014 1:04 am

pinkmoon wrote:OK. Quick update. Have been struggling with this for well over an hour now and life is tragically short, so below is where I'm at..

- have manually set the local IP to static address in Windows Network Adapter IP4 properties/config (used to do this years ago for some reason, but never had to for quite some time; either way AOK.. although wasn't sure what to set DNS to as router showed this as dynamic from my ISP, with greyed out manual settings which is what I used)
- couldn't seem to manually set either static IP or DNS in the router (went through the motions but after I hit save and it reloaded settings appeared the same)
- have tried to uncheck the "auto configure" option in Subsonic, but this either makes no difference or shows 'port forwarding disabled' (does it matter if this is set to enabled but I also have portforwarding setup manually in the router config?)

As it now stands, I can access Subsonic locally via URL of static IP address and forwarded port (i.e. 192.168.2.6:4040). Can also access *locally* using my friendly URL (pinkmoon.subsonic.org), only when I type this in on my server/local PC it reverts to the 192.. address and not my external WAN address. Could this be significant in any way..?

Goes without saying that I'm still getting timeout on canyouseeme.org, as well as in the friendly URL section of subsonic network settings (which otherwise says 'Successfully forwarding port 4040'), although for some reason sometimes/now just says 'Successfully registered web address.' Go figure..?! :roll:

Anyway, really starting to give up again now, as feels like I'm just going round in circles like I have done in the past on a number of occasions like this - which I have a funny feeling in the end resolved itself somehow (and was possibly due to java or subsonic updates).

Any final thoughts..?

Yours in desperation.. :cry:


Give up! Never!
You're almost there... the router port is all that remains..follow the manuals routine for 4040 and once changed reboot router and test with canyouseeme.org It will take after a few attempts.

Sent from my Nexus 5 using Tapatalk
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: remote connection

Postby pinkmoon » Thu Mar 27, 2014 1:17 am

SOLVED???

Have just been looking on this site http://www.pcwintech.com/common-problem ... forwarding and got to the firewall setting part. Disabled my antivirus temporarily. No change. Then checked my windows firewall to find subsonic was only allowed on public network connections. Changed this to also include private.. and suddenly got the green light on canyouseeme.org. Do you think this is what happened - Subsonic rule changed somehow, maybe with an update, or perhaps Windows somehow reset/removed this level of access in the firewall.. or has an earlier tweak suddenly kicked in just as I made this firewall change??

Question now, of course, is whatever fixed this.. how long/will it stick..?!?? :)

PS should also add that just as I was typing my previous entry the net went down (or maybe just wireless). Carried on after resetting both modem and wireless router.. although sure CYSM.org still failed after this until I did the firewall thing - which I've just checked again after disabling 'private' and failed, then reenabling and 'success'.. so that surely must prove it. Question is why did this break when I'm pretty sure I didn't do anything..?!?
pinkmoon
 
Posts: 47
Joined: Mon Aug 30, 2010 9:15 am

Re: remote connection

Postby GJ51 » Thu Mar 27, 2014 1:28 am

I can reach your logon page from here.

Remember ... if it ain't broke ... don't fix it and everything should be fine.

Sometimes the fix is simple, but if you start heading down the wrong rabbit hole you can get so confused that you don't remember or identify what caused the original failure.

Your question regarding the firewall makes sense. If the firewall isn't open you'll never connect from outside. Firewalls are often confusing and poorly understood. Although for security reasons the defaults are usually "the more the better" approach on most home networks, in reality dropping the firewall on a PC inside a home network isn't all that dangerous if your behind a router with adequate settings in place. Most of us are actually behind the double firewall model without understanding how that works.

The Windows firewall setting when using Subsonic is actually a bit different depending on which version you install. the Windows Subsonic installer will set the firewall automatically, but the war install has to be set manually. Regardless of which version you use it's a good idea to Open the Firewall settings on the host machine and understand how and why it's setup and verify that it's correct.

For me it's always been a toss up as to which is the best paet of Subsonic. Is it the ability to listen to your music or is it how much you learn by getting it working properly. In any event success is a win/win for all who persevere.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: remote connection

Postby pinkmoon » Thu Mar 27, 2014 7:41 am

That's the problem - it was broke! :lol:

Either way, clearly the firewall setting - just strange why it suddenly stopped working (unless I inadvertently set it wrong if prompted when I installed the latest version).

All good fun (not) :)
pinkmoon
 
Posts: 47
Joined: Mon Aug 30, 2010 9:15 am

Re: remote connection

Postby jaggyjim » Thu Mar 27, 2014 10:57 am

I too followed your detailed instructions, which were very helpful, but in my case they made the situation worse, so I have reverted to original settings just now.

I have windows 7 and a wireless connection to the router (a BT Home Hub 3) so I had to follow a slightly different route to setting the static IP address. Entering a default address was straightforward, but I did not know what to enter for subnet mask, default gateway, preferred DNS server and alternate DNS server. Like the other correspondent making changes to the router didn't seem to stick, and canyouseeme still kept showing external addresses rather than the static one I had chosen.

What puzzles me is that I had no problems setting up subsonic when I first got it about 18 months ago, without having to set up a static IP address, and it worked perfectly until about 3 or 4 weeks ago. The only change I have made, which I suspect may have had an impact, was to install vmware player which sets up a virtual server so that I can run Windows XP alongside Windows 7 so that I can use old equipment and software that doesn't run under Windows 7. Here is what shows when I run ipconfig:

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix : home
Link-local IPv6 Address : fe80::4d0f:bcbc:bca0:65d0%14
IPv4 Address : 192.168.1.71
Subnet Mask ; 255.255.255.0
Default Gateway : 192.168.1.254

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix :
Link-local IPv6 Address : fe80::ae:cece:de74:7be1%28
IPv4 Address : 192.168.17.1
Subnet Mask ; 255.255.255.0
Default Gateway :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix :
Link-local IPv6 Address : fe80::f9ef:9a47:8d00:ccca%29
IPv4 Address : 192.168.247.1
Subnet Mask ; 255.255.255.0
Default Gateway :

This is without a static IP address set. Could this be causing my problems? I am very much a network virgin so I'm wandering about in the dark. Like the other correspondent I am giving up just now, but I will return to it after a break as I hate to be defeated by these things. However subsonic is not as vital as it was when I first got it. I have alternative ways of streaming my music around the house now, and using my phone to access my music was never a live link...it just downloaded the music on to my phone, and there are lots of ways to do that without subsonic, or I can just use it as a player having copied music to the phone.

Thanks for your detailed explanations which I will return to in due course, but for now my brain hurts.
jaggyjim
 
Posts: 9
Joined: Thu Jan 30, 2014 4:13 pm

Re: remote connection

Postby jaggyjim » Thu Mar 27, 2014 2:28 pm

Well my last post said I was giving up for a while, but I just couldn't let it go, and I've made some progress.

I removed all port forwarding information from the hub, and I don't have a fixed IP address. I fiddled around with my firewall and the settings for port forwarding in it. I have now got to the stage where canyouseeme.org gives me a positive response, as does the network page in subsonic. I can access my subsonic server from my phone using 3G without having to turn off my firewall, but still not on wifi. That means I am almost there, but I still have to figure out how to access from my phone using wifi. Maybe it's because I'm using my home wifi network (although that used to work)? Next time I'm out I'll try it on another wifi such as the The Cloud. Now I am going to take a break for a few days!
jaggyjim
 
Posts: 9
Joined: Thu Jan 30, 2014 4:13 pm

Re: remote connection

Postby GJ51 » Thu Mar 27, 2014 4:13 pm

As I previously explained, all you need to do is create a second server entry on your phone for internal network use.


Just create a second server entry oh your phone's Subsonic app. Name it Home Network or something similar and just use the INTERNALIP:PORT# format for the server address instead of the subsonic.org vanity address.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: remote connection

Postby jaggyjim » Thu Mar 27, 2014 4:47 pm

For some reason that doesn't work any better than using the vanity address. I think there must be something more I need to do with my firewall settings.

Thanks for your continued help and advice.
jaggyjim
 
Posts: 9
Joined: Thu Jan 30, 2014 4:13 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 93 guests