Is there a way to make a relative link to a differnt port number?
I'm trying to make a link that works both inside and outside of my home network.
I've gotten it to work with a bit of scripting. by looking at the client's IP and my network's external IP and then writing the link accordingly. but was looking for an easier way.
I have Snapstream's beyond TV (software based TIVO, serves on port 8129) and homeseer running on the same machine (port 81) (computer is named media)
so internally i have
<pre class="ip-ubbcode-code-pre">
Http://media:81 and
http://media:8129
</pre>
and from outside the network
<pre class="ip-ubbcode-code-pre">
Http://###.###.###.###:81 and
Http://###.###.###.###:8129</pre>
to jump from one server to the other, I have had to hardcode the whole address including the HTTP. Which then will not work from outside the network.
I'm trying to make a link that works both inside and outside of my home network.
I've gotten it to work with a bit of scripting. by looking at the client's IP and my network's external IP and then writing the link accordingly. but was looking for an easier way.
I have Snapstream's beyond TV (software based TIVO, serves on port 8129) and homeseer running on the same machine (port 81) (computer is named media)
so internally i have
<pre class="ip-ubbcode-code-pre">
Http://media:81 and
http://media:8129
</pre>
and from outside the network
<pre class="ip-ubbcode-code-pre">
Http://###.###.###.###:81 and
Http://###.###.###.###:8129</pre>
to jump from one server to the other, I have had to hardcode the whole address including the HTTP. Which then will not work from outside the network.
Comment