Bug 12808 - Incorrect port number in web link
: Incorrect port number in web link
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Control Panel
: 7.4.0
: PC Windows Server 2003
: -- normal (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-11 20:22 UTC by Jim McAtee
Modified: 2009-10-05 14:35 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2009-07-11 20:22:29 UTC
The link under Advanced > Web based Interface > Advanced fails to use the correct http port.  The server is still running on the default port 9000, but the link is:

http://127.0.0.1/settings/index.html
Comment 1 Michael Herger 2009-07-21 01:18:47 UTC
is this running SC from your srvany installation with --prefsdir?

Will have to check that it's falling back to 9000 if the prefs file can't be found.
Comment 2 Jim McAtee 2009-07-21 01:46:15 UTC
Yes, but what's the difference?  The server should know the port that it's listening on.
Comment 3 Michael Herger 2009-07-21 01:58:10 UTC
> The server should know the port that it's listening on.

Sure, the server does know. But the control panel can't talk to the server unless it knows on which port to do so. Therefore it's reading the prefs file. Which it can't find if the prefsdir argument is being used.
Comment 4 Jim McAtee 2009-07-21 02:00:20 UTC
Sorry, I was mistaken.  This was a vanilla installation of the EXE via the Windows installer. It was still running on the default port 9000.
Comment 5 Michael Herger 2009-07-24 06:21:13 UTC
change 12779 - fall back to port 9000 if the httpport can't be read from the configuration.

Still would have to know why it fails to read that value in a plain vanilla installtion. But at least this is a better fallback than port 80...
Comment 6 James Richardson 2009-10-05 14:35:42 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.