How to connect locally on server machine?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jyoti Mahalik
    New Member
    • Jan 2011
    • 2

    How to connect locally on server machine?

    How to connect locally on server machine?
    Last edited by Niheel; Jan 30 '11, 12:44 AM. Reason: make your question understandable.
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    you can use the localhost host IP address 127.0.0.1, e.g. a client connecting to a server on port 9000 on the local machine
    Code:
          tcpClient.Connect("127.0.0.1", 9000)
    or you can use localhost
    Code:
          tcpClient.Connect("localhost", 9000)

    Comment

    Working...