Trouble accessing Subsonic from the internet

Need help? Post your questions here.

Moderator: moderators

Trouble accessing Subsonic from the internet

Postby allfonzz » Mon May 19, 2008 10:03 pm

I realize there are other threads on this topic however I couldn't find a solution in any of them.
I'm having trouble accessing Subsonic on my computer from the internet.
When I enter "http://localhost/" it works fine but when I try via a URL or IP address it doesn't work.
I've registered with DynDNS and my URL is:
http://www.alfonzzz.kicks-ass.net:21212
(When port 80 didn't work I changed the port to a random number in case my ISP/Cable provider are blocking it).
I can ping my domain name so I know that works.
I've enabled port forwarding for both port 80 and 21212 (TCP + UDP) and during debugging shut down my firewall (XP firewall + router firewall). At one point I also defined my pc in the router's DMZ.
I used http://www.canyouseeme.org/ to check if 21212 is open and the test was successful.
In other words - all seems to be ok, but for some reason when I try to go to subsonic then the browser times out. I can't work it out!

Just in case - here's a description of my internet connection:
pc -> linksys router -> Audiocodes MP-202 SIP Gateway (that's my phone line) -> cable modem

Btw, port forwarding for other applications (uTorrent, eMule) works fine.

Anyone got any ideas??

thanks...
allfonzz
 
Posts: 2
Joined: Mon May 19, 2008 9:45 pm

Postby kdid » Tue May 20, 2008 8:18 am

Did you ensure that "http://localhost:21212/subsonic" did work?

You might need to change the port number that subsonic uses. On my rocket that is done in the settings for tomcat. (If I remember correctly.) Or do your router map the port for you from 21212 to 80 or 8080 perhaps?
-- kdid
kdid
 
Posts: 131
Joined: Tue Jan 02, 2007 11:17 am

Postby allfonzz » Tue May 20, 2008 12:37 pm

Subsonic is set to 21212 and http://localhost:21212 works fine.
I'll try and do more tests since at the moment i don't know whether it's a problem with my pc or the router/access equipment.
I'll try and access it from another computer on my LAN. if that works then i'll disconnect my router and SIP adapter and try and connect directly and see if that makes a difference.
I used to have an ADSL line with an Edimax router and it worked perfectly there.
i'll keep on trying, if anyone has any other ideas i'd love to hear them...
allfonzz
 
Posts: 2
Joined: Mon May 19, 2008 9:45 pm

Postby jigsaw » Wed May 28, 2008 6:23 pm

Have you verified that the tomcat is listening on the exposed interface and not only on localhost?

Windows:
netstat -a

Look for port 21212 and LISTEN or LISTENING

Linux:
netstat -ltn | grep LISTEN | grep 21212
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby mattandjunk » Wed Aug 06, 2008 9:33 pm

Posting here because I'm having the same problem. I can connect just fine using a web browser from within my local network (192.168.etc) but I am unable to connect from an external ip address.

Port forwarding on my router works fine for vnc, ftp, and other apps I've set up. So I'm able to connect to my ip from an external address no prob, but just not for subsonic. I've allowed 80 for subsonic. I've double checked all settings on the router's firewall, computer firewall, and subsonic. I tried netstat -a and it lists "http" as listening (which i'm assuming is port 80). I also tried canyouseeme.org and I get the same error there as I get when trying to access subsonic via a browser: "Reason: Connection timed out". I even tried setting my comp as dmz on the router and that didn't change anything.

Any help would be appreciated. Thanks.
mattandjunk
 
Posts: 2
Joined: Wed Aug 06, 2008 9:26 pm

Postby kdid » Wed Aug 06, 2008 10:50 pm

Port 80 might be filtered out by your ISP. Try another port and see if that cures the problem.
-- kdid
kdid
 
Posts: 131
Joined: Tue Jan 02, 2007 11:17 am

Postby mattandjunk » Wed Aug 06, 2008 10:54 pm

Alright Allfonzz I figured it out. Seems my ISP and probably yours are blocking port 80. Two ways to get around this:

1) Change the port of subsonic so you then connect to an address like this (with your numbers of course): yourip:port#/subsonic I changed mine to something random like 45323. ex. 23.230.421.21:45323/subsonic

2) If for some reason you want to keep a port 80 to log on, you can register a free account with someone like www.no-ip.com and get a port 80 redirect. So then you'd create an address on your account like yourname.no-ip.org and you'd log into there and it would redirect you to your real ip address and port.

Either way though you'll need to change the port subsonic uses to listen on your computer. Hope this helps you and any others like me who are trying out this badass program.
mattandjunk
 
Posts: 2
Joined: Wed Aug 06, 2008 9:26 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 11 guests