Accessing Subsonic Outside of LAN

Need help? Post your questions here.

Moderator: moderators

Accessing Subsonic Outside of LAN

Postby devin » Wed Jan 14, 2009 6:08 pm

I have an Ubuntu box running Subsonic 3.6.beta2. It's running on the default port 8080, and I can access it within my LAN. I've opened port 8080 on my firewall, but I can't access Subsonic outside of my LAN.

Here's the output of "netstat -an | grep 8080" on the Ubuntu box:
Code: Select all
tcp6       0      0 :::8080                 :::*                    LISTEN


I realize that the Ubuntu box needs to be accepting connections from all addresses (0.0.0.0:8080), but I'm not sure how to change this.

Any help would be appreciated!


Thanks,
Devin
devin
 
Posts: 7
Joined: Wed Jan 14, 2009 5:24 pm

Postby jonathanroz » Wed Jan 14, 2009 7:01 pm

Do you have another machine that is on your same subnet/LAN that you can use to try to access from? If you can get to it from within your own subnet it is probably not a setting on the ubuntu box.

If this issue is only when you try from the internet you might need to setup port forwarding on your router. I have a linksys router and this was fairly easy using both the standard firmware and DD-WRT.

There are also a lot of posts about opening ports on Ubuntu on the Ubuntu forums site. http://ubuntuforums.org/index.php
jonathanroz
 
Posts: 172
Joined: Thu Dec 18, 2008 8:54 pm
Location: Frisco, TX USA

Postby devin » Wed Jan 14, 2009 7:36 pm

jonathanroz wrote:Do you have another machine that is on your same subnet/LAN that you can use to try to access from?


Yes, I can access Subsonic from any computer on my LAN. I have configured my router to forward port 8080 traffic to my Ubuntu box, but still can't access Subsonic from anywhere outside of my subnet.

I have another box running apache on port 80. I've set up port forwarding the same way I did for Subsonic, and it works great. A netstat on the apache box shows that it is listening on 0.0.0.0:80, whereas the Ubuntu/Subsonic box is listening on :::8080.
devin
 
Posts: 7
Joined: Wed Jan 14, 2009 5:24 pm

Postby jonathanroz » Wed Jan 14, 2009 8:58 pm

It sounds to me that the issue must not be your Ubuntu box then. I am assuming you are also running Ubuntu on your Apache server.

I don't believe that Ubuntu applies rules specific to only the subnet it is on so it should act the same from the Internet if you can get there. Of course I am no hard core Ubuntu user so I could be wrong.

This probably wont be much help but... I know I had an issue a couple weeks ago where I was testing a new app and could not get it to work from the internet. I have DD-WRT running on my router and even though it showed the port forwarding in the setting it looks like I must have never hit "apply changes". I hit that and all of a sudden it started working.

You could also try a different port (I use port 88 for Subsonic even though I think most use 8080) or try to telnet to your IP and port from the internet. I have a feeling you will get the same result though as this doesnt seem to be an app issue.

FYI I can not get 8080 to work because my work blocks 8080 to prevent people from using external proxies to bypass web filtering. That is why I had to use 88, but I think this is unusual.
jonathanroz
 
Posts: 172
Joined: Thu Dec 18, 2008 8:54 pm
Location: Frisco, TX USA

Postby devin » Thu Jan 15, 2009 4:20 am

Thanks for your replies! You were right, it was completely a router issue. The Ubuntu box was configured correctly.

I checked the router logs, and noticed an unexpected entry - "Administrator login fail, Access deny". It turned out that the router remote management port was set to 8080. This was an old setting that someone else set years ago.

I disabled remote access, now everything works great! It was such a simple thing - once I found the problem. I imagine you were just as frustrated when you realized you hadn't applied changes ;). DD-WRT does have a weird way of saving changes.


Thanks again,
Devin
devin
 
Posts: 7
Joined: Wed Jan 14, 2009 5:24 pm

Postby jonathanroz » Thu Jan 15, 2009 4:23 pm

I am glad to hear you got it figured out.

Enjoy!
jonathanroz
 
Posts: 172
Joined: Thu Dec 18, 2008 8:54 pm
Location: Frisco, TX USA


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests