how can i get the port no. on which it is running currently at runtime
        Posted  
        
            by Rakesh Ranjan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rakesh Ranjan
        
        
        
        Published on 2010-05-12T10:41:25Z
        Indexed on 
            2010/05/12
            10:44 UTC
        
        
        Read the original article
        Hit count: 330
        
c#3.0
I have a window application which is connecting to a localserver. I am connecting through a particular Ipaddress(127.0.0.1) and a port (1089). but i want to connect through the current port number on which it is running.
Can any body help me on this....
© Stack Overflow or respective owner