Page 1 of 1

Very strange problem

PostPosted: Sat Dec 19, 2009 1:11 pm
by PieterB
I can login to Subsonic through http://localhost:9988/subsonic

I cannot login through my local IP http://83.XX.XXX.XXX:9988/subsonic

Firefox can't establish a connection to the server at 83.XX.XXX.XXX:9988.

It used to be no problem at all! I could play my music from any computer all over the world.

This is what happened:

I had to reset my router because of some local hacker changed my password. Meanwhile I upgraded Subsonic to it's last stable release.

I am using port 9988:

Port 9988 is set in the Subsonic Control Panel
Port 9988 is forwarded in my router's firewall to 192.168.1.2 -the PC where the subsonic folder is located.
Port 9988 is in the exception list of Windows firewall, so is subsonic-agent.exe and subsonic-service.exe

The virus scanner is no issue. Turn off Windows firewall does not make a difference.

Anybody any idea?

PostPosted: Sat Dec 19, 2009 11:49 pm
by WildWalker
Can you clarify one thing for me?

Did Subsonic stop working from the external link immediately after you reset the router? or has it worked since the reset, then stopped working?

Oh, and has the IP address of the internal PC with subsonic on changed?

Alan.

PostPosted: Sun Dec 20, 2009 8:22 am
by PieterB
WildWalker wrote:Did Subsonic stop working from the external link immediately after you reset the router? or has it worked since the reset, then stopped working?
Oh, and has the IP address of the internal PC with subsonic on changed


The answer to the first question is 'I don't know'. I tried to impress one of my students with my music collection this Friday, and the link didn't work anymore.

There's a fascinating detail, however. During the router troubles, I also had some issues with the cable modem. At a certain point I noticed that my IP address had changed (my IP address is semi-static: it is modified when the modem 'sees' another MAC address) because I directly connected the PC to the modem. And also -of course- the DHCP given local IP of the PC changed temporary.

I'll do a fresh install of Subsonic. That's the only thing I didn't do.

I'll report back.

PostPosted: Sun Dec 20, 2009 1:01 pm
by WildWalker
PieterB wrote:There's a fascinating detail, however. During the router troubles, I also had some issues with the cable modem. At a certain point I noticed that my IP address had changed (my IP address is semi-static: it is modified when the modem 'sees' another MAC address) because I directly connected the PC to the modem. And also -of course- the DHCP given local IP of the PC changed temporary.

I'll do a fresh install of Subsonic. That's the only thing I didn't do.

I'll report back.



Do you mean your puplic IP changed, or your private (internal) IP changed?

If either IP has changed, reinstalling Subsonic isn't the answer, its either your external IP or your routing that is the issue.

I would start by checking your public (external) IP is still what you think it is, and work your way forwards from there.

Alan.

PostPosted: Sun Dec 20, 2009 1:09 pm
by PieterB
I uninstalled Subsonic. I cleaned the registry of every Subsonic key, every value. Then reinstalled Subsonic 3.8 (build 1130).

The same problem. I assume there is a router setting I am missing. Or 3.8 has a port assigning problem.....

UPDATE: I reinstalled 3.6 and encountered the same problem. Changed port to 8080; changed the firewall port, and the forwarding port in the router setup. No success. Put everything back to 9988.

Oh, IP's are correct.

It's making me nuts.

PostPosted: Sun Dec 20, 2009 6:07 pm
by WildWalker
As you 'can' login locally, lets assume for now Subsonic is okay.

First test, if you have another computer, can you login across your LAN?

Alan.

PostPosted: Sun Dec 20, 2009 6:33 pm
by PieterB
No, Alan, I cannot login across my LAN. Which is logical. If I cannot loop http://83.XX.XXX.XXX:9988/subsonic through the router from my wired PC, there's no way I can login from one of my wireless laptops.

I also rewired my LAN through a gigabit unmanaged switch, but that should not make a difference. But also that I checked, i.e. wired my PC directly to the router.

The router has DHCP enabled, with fixed IP addresses, linked to the MAC addresses of the NICs. I opened port 9988 to 192.168.1.2 for both TCP and UDP (though only TCP is enough). Port 9988 is in the exceptions list of the Windows firewall, also for TCP and UDP.

What more should there be opened or set?

PostPosted: Sun Dec 20, 2009 10:29 pm
by PieterB
OK. This is quite interesting. I solved the problem. And of course the solution was simple. I have a 3Com OfficeConnect 3CRWER100-75 router.

3Com offered an important firmware upgrade, early this year. I upgraded recently.

Previously the port forwarding looked -even if it was just one port- like this: 9988 ~ 9988, and the port forwarding of for instance FTP still looks like that: 21 ~ 21 (start port ~ end port). Of course I used that format. Because I was completely lost and desperate, and could not find any flaw, I changed the '9988 ~ 9988' into just '9988'.

And that worked. Stupid 3Com. Darn stupid 3Com. Love their routers and switches, hate their policies.

Hope this topic will help some other people.

PostPosted: Tue Dec 22, 2009 11:50 pm
by WildWalker
PieterB wrote:No, Alan, I cannot login across my LAN. Which is logical. If I cannot loop http://83.XX.XXX.XXX:9988/subsonic through the router from my wired PC, there's no way I can login from one of my wireless laptops.


Port forwarding has no effect on internal IPs, wired or wireless.

I simply meant can you use subsonic on a local connection, rather than through the external IP, to see if it was a routing issue or not.

Glad it's working now ;)

PostPosted: Wed Dec 23, 2009 4:43 pm
by PieterB
WildWalker wrote:Port forwarding has no effect on internal IPs, wired or wireless


It definitely has an effect! When I use my local IP 83.84.XXX.XXX:9988/subsonic to go to my login, I NEED port forwarding. When I us localhost I do NOT need port forwarding. Believe me. I am an expert now.

Cheers, HAMX
Pieter

PostPosted: Sun Dec 27, 2009 7:23 am
by pemholder
PieterB wrote:It definitely has an effect! When I use my local IP 83.84.XXX.XXX:9988/subsonic to go to my login, I NEED port forwarding.

This is not you local IP. it is your public IP. Subsonic should work with your local IP (192.168.1.2) without port forwarding.

PostPosted: Sun Dec 27, 2009 7:46 am
by PieterB
Dear pemholder, if you would have taken the effort to read the thread, you would not have written this posting.

P.