Problems with the Hostname parameter
Posted: June 19th, 2008, 9:57 am
FYI, I'm running SABnzbdPlus for OS X 0.3.4 from BR41N.com.
I've had some problems with accessing the WebGUI, and it seems to be very peculiar listening rules in SABnzbd. It's running on a Mac Mini, IP 10.0.1.110 and local hostname "mini".
When the hostname field is cleared, other computers can access it fine, and the mini can access it if I connect to "mini:8080" or "10.0.1.110:8080". However, trying to connect to localhost or 127.0.0.1 fails. I've never seen a web server behave in such a fashion and refuse connections to localhost.
It gets even stranger if I specify "localhost" as the hostname. Then no one else can access the WebGUI, I can access it on the mini at "localhost:8080", but I CANNOT access it at "127.0.0.1:8080"! Only if I actually set the hostname to "127.0.0.1" will that work (and "localhost:8080" works as well).
For the time being I'm using "127.0.0.1" as the hostname parameter and proxying to it with Apache's mod_proxy. At least with Apache I can connect to in any normal fashion, but I do wonder why SABnzbd seems to listen to sockets in a "unique" fashion.
I've had some problems with accessing the WebGUI, and it seems to be very peculiar listening rules in SABnzbd. It's running on a Mac Mini, IP 10.0.1.110 and local hostname "mini".
When the hostname field is cleared, other computers can access it fine, and the mini can access it if I connect to "mini:8080" or "10.0.1.110:8080". However, trying to connect to localhost or 127.0.0.1 fails. I've never seen a web server behave in such a fashion and refuse connections to localhost.
It gets even stranger if I specify "localhost" as the hostname. Then no one else can access the WebGUI, I can access it on the mini at "localhost:8080", but I CANNOT access it at "127.0.0.1:8080"! Only if I actually set the hostname to "127.0.0.1" will that work (and "localhost:8080" works as well).
For the time being I'm using "127.0.0.1" as the hostname parameter and proxying to it with Apache's mod_proxy. At least with Apache I can connect to in any normal fashion, but I do wonder why SABnzbd seems to listen to sockets in a "unique" fashion.