Bugzilla – Bug 4157
Server IP address should be displayed along with version information on basic server setup pages
Last modified: 2008-09-15 14:39:24 UTC
This will help the support guys diagnose network configuration issues.
Created attachment 1559 [details] how about this? includes changelog entry
Created attachment 1560 [details] better version. this takes into account any binding params given on startup
Subject: Re: Server IP address should be displayed along with version information on basic server setup pages Thanks for the patch, KDF. I'm a little confused by the 127.0.0.1 bit. Under what circumstances does that show up? The main reason here is to help folks diagnose network problems, to make sure the player and the server are on the same subnet. Does 127.0.0.1 mean you have no other (external) network connection?
actually, i just stole the line from elsewhere: Slim::Utils::Prefs::homeURL. honestly, in this case, the eventual fallback to 127.0.0.1 would not be useful at all. if it falls that far, we probably want to see that it's undef. In my case, hostAddr was already returning 127.0.0.1, which I expect would be the case for most servers. the --httpaddr command line arg allows binding to one address, which shows up. I'm not sure how we can get complete output in the case where the server is currently bound to ALL available addresses.
Added in change 9900 kdf's change to Slim::Buttons::Information was wrong, so the address was showing up as '2' Since we need to retag 6.5.0, this will be there for that.