Relative Path, pero para Port?

Todos estamos familiarizados con las rutas relativas: una ruta relativa a./images/hello.jpg desdehttp://www.domain.com/hey enlaces ahttp://www.domain.com/hey/images/hello.jpg.

Problema ¿Cómo se indica una ruta relativa ahttp://www.domain.com:1234 cuando estás enhttp://www.domain.com/hey?