Page 1 of 1

Cannot Remotely access Subsonic server

PostPosted: Wed Jun 02, 2010 4:41 am
by cxsmall01
Hi - I've just downloaded the Subsonic server. I've tried quite a few things, which i will list, but am unable to access the subsonic server outside of my private network. Here's what i've tried so far:
- changing the port to 8080 and then 4040 (my ISP blocks port 80)
- using auto and manual port forwarding configuration of my linksys WRT54Gv6 router (tried with ports 8080 and 4040).
- I can access the server from behind the router using the url formats of http://my.Pub.IPadd.ress:PortNumber or MyName.dyndns.org:PortNum, but not from a public IP address
- My OS is Windows 7; I configured windows firewall to accept incoming connections to Subsonic, then finally, completely disabled the firewall
- I disabled the anti-virus program (Avira)
- i've restarted both my PC and the router

so i'm out of ideas. Seems like a router / port forwarding issue, but I'm not sure where to go from here. Any good suggestions would be appreciated, especially if it works :)

PostPosted: Wed Jun 02, 2010 3:49 pm
by einsteinx2
There is a good chance that if you've setup your router's port forwarding properly and you still can't access Subsonic from the outside that your modem itself is also acting as router and needs to either be port forwarded as well or turned into bridged mode if it supports that.

Can you tell us the brand and model number of the modem you have as well as who your internet provider is? That will at least either confirm it or rule out the possibility.

PostPosted: Thu Jun 03, 2010 3:13 am
by cxsmall01
my ISP is Cablevision. I'm using a Motorola SB5100 Surfboard cable modem.

PostPosted: Fri Jun 04, 2010 7:00 am
by einsteinx2
Hmm I looked up that modem and it appears to be a straight modem with no router. So at least it rules that problem out.

It's 3 AM where I'm at and I've been coding all day so my brain's pretty shot right now, but I'll give this some thought tomorrow and see if I can come up with some other things you can try. Unless your ISP is doing some hardcore port blocking (i.e. blocking more than just port 80 from the outside), we should be able to get you setup one way or another.

Actually, I just did some more searching and it looks like your ISP is very restrictive with it's blocking. I saw some forum posts of Cablevision customers saying that their port 8080 was blocked from the outside as well. I have a feeling that the problem here is with your ISP blocking web traffic rather than with Subsonic. They seem to really want to keep people from running home web servers.

A couple things you could try would be to use more random port numbers (like 43245 or 8000 or other random ports) to try and get past their blocking. Another, albeit more difficult, thing you can try is to set up Subsonic to use SSL encryption. This might keep them from knowing that it's a web server and might just let the traffic through.

Sorry that's all I can think of right now, too tired, it's time for bed ;)

PostPosted: Sat Jun 05, 2010 2:52 pm
by ccandreva
Here is a test you can try: From outside your network, telnet to the subsonic port (with a regular telnet client).

If you nothing happens for a while and the connection time out, it's most likely a firewall issue. If on the other hand you get "connection refused" immediately, then it's most likely a port forwarding issue.

PostPosted: Sun Jun 06, 2010 1:49 am
by cxsmall01
I tried both suggestions:
1) used random port number "1296" - NG
2) tried to telnet from outside the firewall. Using the redirected url from dyndns.org, i get an immediate connect failed message "Could not open connection to the host, on port 23: Connect failed". Taking the redirection out of the equation, i telneted directly to my public IPaddress:PortNum and received the same message, but it took much longer to return the message this time.

I then went for broke and disabled the Windows 7 firewall and configured my PC's port on the router as a DMZ host. That should have forwarded all ports to the "subsonic server" ... Still no good ...

My next step would be "crawl under the deep nethers of my desk" to pull the router out of the loop altogether and connect the PC directly to the modem and see what happens (besides ticking off 2 kids who use the Wifi). This would only be a temporary solution if it worked, but if it did, it would point to the router. If it didn't, it could still be ISP or PC related.

thanks for the suggestions so far ... i'm open to try other stuff if you can think of anything else. This is little frustrating - I'm mean its not like it's rocket science, right ?? :*( I would have thought my last step would work.

PostPosted: Sun Jun 06, 2010 2:38 am
by ccandreva
To do the telnet test you have to specify the Subsonic port. For example. from a unix command line it would be: telnet 1.2.3.4 4040

I'm not sure of the syntax for the windows command line. Things like Putty or TeraTerm let you specify it in the window.

PostPosted: Fri Jun 11, 2010 1:26 am
by cxsmall01
I tried using teraterm to telnet and it took about 15-20s for it to return a timeout message. Next step is to bypass the router.

PostPosted: Thu Jun 17, 2010 10:23 am
by madison12
Thank you for your information !!!!!!

dedicated linux server hosting