• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

HTML link to another port on same server

Question

Billaguana    26

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?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
tiagosilva29    952

You can't change the authority section of a URI.

Share this post


Link to post
Share on other sites
  • 0
+jamesyfx    362

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.

Share this post


Link to post
Share on other sites
  • 0
Billaguana    26

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.