Get the webserver´s s port !?!?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Get the webserver´s s port !?!?

  1. #1
    Join Date
    Mar 2007
    Posts
    39

    Get the webserver´s s port !?!?

    Hi,

    does anyone knows how to get the web server´s port that is running the website on our local host?


    Thanks,

    Fafeman

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    PortNumber = HttpContext.Current.Request.Port
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2007
    Posts
    39
    thanks Phil

  4. #4
    Join Date
    Mar 2007
    Posts
    39
    Phil,

    i cannot find the port member !?

    Are you positive about this?

    Thanks,

    Fafeman

Similar Threads

  1. How to change COM port number
    By quantum1976 in forum VB Classic
    Replies: 1
    Last Post: 02-17-2006, 10:29 AM
  2. Replies: 2
    Last Post: 01-16-2006, 03:34 PM
  3. Replies: 1
    Last Post: 10-06-2005, 02:36 PM
  4. SQL Tutorial (Answer Q's & post your reply)
    By bigbastard4 in forum Database
    Replies: 2
    Last Post: 05-16-2001, 06:24 PM
  5. WinSock port re-use - PLEASE HELP!!!
    By Mark Holder in forum VB Classic
    Replies: 4
    Last Post: 08-08-2000, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center