某理由で相対URLでportを変える書き方がないかと思ったのですが、
http://stackoverflow.com/questions/6016120/relative-url-to-a-different-port-number-in-a-hyperlink 

どうもなさげ。。。仕方ないです。。