I want to create a link to another page on my site for display purposes.
Already have it done for when the site is live, but now I need to figure out what the port number is for the localhost the site is running on at that moment.
TIA
Robert
Click on "Mark as Answer" if my answers help you along.
Contributor
2590 Points
2661 Posts
code to find what the localhost port number is?
Aug 07, 2013 08:36 AM|wavemaster|LINK
I want to create a link to another page on my site for display purposes.
Already have it done for when the site is live, but now I need to figure out what the port number is for the localhost the site is running on at that moment.
TIA
Robert
All-Star
37441 Points
9076 Posts
Re: code to find what the localhost port number is?
Aug 07, 2013 08:44 AM|AidyF|LINK
Request.Url.Port
Member
300 Points
105 Posts
Re: code to find what the localhost port number is?
Aug 07, 2013 08:48 AM|MDubey1987|LINK
Manish Dubey
Software Engineer
Dot Net World
[Mark as Answer on the post that helps you]
All-Star
52503 Points
15665 Posts
Re: code to find what the localhost port number is?
Aug 07, 2013 08:58 AM|oned_gk|LINK
Suwandi - Non Graduate Programmer