Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: ...CONNECTION OF CLIENT AND SERVER RUNNING ON DIFFERENT COMPUTERS

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation ...CONNECTION OF CLIENT AND SERVER RUNNING ON DIFFERENT COMPUTERS

    ....Hello guys,,,,i know how to connect a client program and a server program
    running on the same computer. Can some one help me on how to connect the
    client program and the server program which run on two different computers
    over the internet???


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    18,610
    Thanks
    45
    Thanked 1,956 Times in 1,930 Posts

    Default Re: ...CONNECTION OF CLIENT AND SERVER RUNNING ON DIFFERENT COMPUTERS

    The client needs the IP address of the server.
    Do you use localhost or 127.0.0.1? Replace that with the server's IP address

Similar Threads

  1. Replies: 0
    Last Post: May 10th, 2011, 07:02 AM
  2. Replies: 0
    Last Post: March 26th, 2011, 11:07 AM
  3. Replies: 0
    Last Post: February 24th, 2011, 05:31 AM
  4. problem with closing connection to client socket
    By sunitha in forum Java Networking
    Replies: 1
    Last Post: December 11th, 2010, 03:28 AM
  5. Replies: 1
    Last Post: March 3rd, 2009, 07:04 AM