registered but can't connect

Need help? Post your questions here.

Moderator: moderators

registered but can't connect

Postby epicurus » Thu Mar 10, 2011 8:18 pm

Hello,

I am running subsonic on xubuntu connected via ethernet. I have forwarded ports 4567 and 5431, which are open. I can connect locally to subsonic. However I cannot connect outside my network. When I check the automatic connect box. It states beneath it that: "___ is registered but cannot connect to subsonic.org (nohttpresponseexception)." I have scoured the forums, and have fiddled with this for far too long. I am on the trial period and would like this to work, because it seems very useful and just a good product. Thanks for your help ahead of time.
epicurus
 
Posts: 10
Joined: Thu Mar 10, 2011 7:30 pm

Postby bushman4 » Thu Mar 10, 2011 8:22 pm

Go to http://www.canyouseeme.org/ and enter the HTTP port that you are running subsonic under and see if it shows open. I bet it doesn't.

Does it work from a different PC on the same LAN?

If it works on the subsonic server but no place else, it is probably a firewall on the Subsonic Server causing the problem.

If it works on the Subsonic Server and on another computer that on the same local LAN as the Subsonic Server but DOES NOT work from outside the LAN then it is NOT a firewall on the Subsonic Server, but rather is a problem with the port mapping on your router.

More info...

HTH,
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Postby epicurus » Thu Mar 10, 2011 10:01 pm

Works on diff. computer but not outside, I am nearly certain both ports are open.

Image

Thanks though
epicurus
 
Posts: 10
Joined: Thu Mar 10, 2011 7:30 pm

Postby GJ51 » Thu Mar 10, 2011 11:53 pm

Most problems are due to improper setup on the router. Setting a fixed internal ip address for the server and proper port forwarding rules on the router are essential for long term stability.

Disable any DHCP services in any VOIP equipment you have. Only one device per network should handle DHCP assignments.

First read: http://monroeworld.com/android/subsonic/ This is the Windows tutorial but most of the concepts apply to any setup. Specific setup instructions for other Operating Systems are available in the Tutorials section. http://forum.subsonic.org/forum/viewforum.php?f=6 and on the Subsonic website at http://www.subsonic.org/pages/installation.jsp

Never use port 80 or 443 - ISP's often use or block them and these are also the default ports on WHS for the remote login page. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failures.

Start with a fresh Java install to the latest version. If you have Java already, uninstall, then do a clean install of the latest version. If you use a 64 bit browser be sure to get both 32 & 64 bit Java.
http://www.java.com/en/download/faq/java_win64bit.xml

In Subsonic Settings/Network - UNCHECK " Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding)." make sure to hit the SAVE button, you may have to scroll down to see it depending on your screen size. UPnP or Plug & Pray works sometimes, but not very often and you're better off learning what's going on anyway. You're dipping your toe into the network mgmt. thing anyway, might as well learn what's going on as home networks don't get simpler as time goes on. As your network gets more complex, you're going to have to learn this stuff! No time like the present.

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHCP, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080, 8081, etc.

Set up port forwarding in your router to direct traffic on the selected port to your server. Consult your router documentation to do this, they are all a bit different.

Learn your external IP address assigned by your ISP. Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.

Test your setup by entering your external IP:port# to see if it connects. e.g. http://98.117.185.5:8084/ If it works, you're good to go.
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

Postby epicurus » Fri Mar 11, 2011 3:56 am

Thank you for your reply, gary it is appreciated. I reinstalled java fresh. I double rechecked all my ports, all are open. Still cannot connect outside my network. Works fine inside. I have a static ip, everything there has been good and gold for quite some time. Does anyone know if subsonic is firewall-ing ports 4567, and 5413? Or is there some hidden config file that I should change for linux? Any ideas are welcome, but I will say again the ports are open.

Image

Pic is not displaying so feel free to us the link
Last edited by epicurus on Fri Mar 11, 2011 4:05 am, edited 1 time in total.
epicurus
 
Posts: 10
Joined: Thu Mar 10, 2011 7:30 pm

Postby epicurus » Fri Mar 11, 2011 4:04 am

I found this in the subsonic.log maybe it could help:



Code: Select all
[2011-03-10 20:38:10,864] INFO NetworkService - Deleted port mapping for port 4567
[2011-03-10 20:38:10,919] INFO NetworkService - Deleted port mapping for port 5431
[2011-03-10 20:39:38,273] INFO NetworkService - Deleted port mapping for port 4567
[2011-03-10 20:39:38,327] INFO NetworkService - Deleted port mapping for port 5431


and this in subsonic_sh.log



Code: Select all
Subsonic running on: http://localhost:4567/
                and: https://localhost:5431/
20997 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
21045 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
21200 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:9412](local),objID:[0:0:0, 0]]]]


Could it have something to do with not detecting rmi registry? Lastly I am using an actiontec q1000 router. The reason I am using ports 4567 and 5431 is that I cannot get other more convenient ports to open. I have tried even with the firewall deactivated and I can only get a couple ports that are I open - I got these by dropping the firewall and scanning my network for open ports. Either Qwest (the isp) is blocking them or something else, which I have not thought of.
Thanks again for any help.
epicurus
 
Posts: 10
Joined: Thu Mar 10, 2011 7:30 pm

Postby GJ51 » Fri Mar 11, 2011 5:59 am

Humor me and try setting up JUST http access on port 8081. I have an Actiontec router, let me know if you need help setting up port forwarding on it.
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


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests