Reputation:
I have a url eg: xyz.net/645636
. I'm trying to access it but it is giving me an error saying cannot get to xyz.net/645636
. But, I didn't have any problem navigating to that page directly.
The local host url is http://localhost:3000/index.html
.
I'm running my application using node server setup on my local system.
<a href="xyz.net/645636"> Example Link </a>
The link doesn't have any protocols. Could some one point out where am I doing it wrong?
Upvotes: 0
Views: 1767
Reputation: 12247
It needs a protocol:
<a href="http://example.com/645636"> Example Link </a>
When you type the address into your browser without one, it adds it for you for convenience.
Upvotes: 2