Webbased Administration Interfaces

Dear Hardware / Appliance and any other kind of being that creates web interfaces to manage devices remotely. Pleaze keep in mind that plenty of these kind of machines are being managed from behind a ssh tunnel so people often connect to them using http://localhost:8080/ where 8080 locally is mapped e.g. via ssh to the port 80 on the remote port.

If your application does anything closely to rewriting the localhost:8080 part to localhost it will fail and I as a potential purchaser of your device wil vote against buying your stuff.
(This is specifically annoying if I want to tunnel 16 KVM/IP boxen to my localhost 8001:8016)

You offcourse score good points for supporting an ssh connection to that same device that allows me to do the everything I actually want to do :)

Comments

Wouter Verhelst's picture

#1 Wouter Verhelst : iLO HTTP stuff

Since you mention iLO in the tags...

I've seen this behaviour too, but there's an easy way out: make sure it does not need to rewrite the hostname. This means: specify the full URL, including the / at the end. So, 'http://localhost:8080/' rather than 'http://localhost:8080', or whatever URL you were using. If you do that, everything will work fine.

At least it does for me.


Kris Buytaert's picture

#2 Kris Buytaert : iLO

Then you got more luck than I had ...

Apart from the s/8080//g; it also did an s/http/https/g;
Well you can still tunnel all of that.. but it becomes anoying for 1+ machines ;)