Get the tcp port web site is served on

Posted by Roman Prikhodchenko on Stack Overflow See other posts from Stack Overflow or by Roman Prikhodchenko
Published on 2010-06-04T21:12:14Z Indexed on 2010/06/06 11:02 UTC
Read the original article Hit count: 340

Filed under:
|
|

I need to get a tcp port of the specified web site on IIS 7 and IIS 6 using C#. I have a console application that knows the web site's name. It should find a port this web site is served on.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET