• 0

HTML link to another port on same server


Question

I am trying to put in a link to another port on the same server as the web server. I am trying to redirect to port, lets say, 8888 but of course


<a href=":8888">a different port</a>
[/CODE]

or

[CODE]
<a href="ipaddress:8888">a different port</a>
[/CODE]

doesn't work.

What is the code to do this?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

From what I've done in the past just simply putting the IP address in with the port number after it e.g. http://127.0.0.1:8080 Works... I'm not sure why wouldn't.

Thanks much. Gonna sound like an idiot but missed the whole "http:\\" portion. So used to just typing it into the address bar. Thanks again.

Link to comment
Share on other sites

This topic is now closed to further replies.