Is there a way without Javascript / server-side scripting to link to a different port number on the same box, if I don\'t know the hostname?
e.g.:
&l
No need of complicated javascript : simply insert a script node after your anchor, then get the node in javascript, and modify its href property with the window.location.origin method.
Look at the other port
The id property must be unique page wide, so you may want to use other method to retrieve node objects.
Tested with apache and Firefox on Linux.