aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Server/Client On Separate Machines Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Server/Client On Separate Machines" Watch "Server/Client On Separate Machines" New topic
Author

Server/Client On Separate Machines

Daniel Simpson
Ranch Hand

Joined: Sep 02, 2004
Posts: 181
Hi, I had a question about a simple messaging client/server app that I have been working out of from the Deitel Java book. When I run the client and server on the same computer (using localhost), it works just fine. My question is, I have tried running it on two separate computers and it doesn't seem to work. I have the server running on my computer and I had the client running on another computer with a different ip address. Do I need to edit some permissions on my computer running the server or something like that? I typed in the ip address of my server's location in the command line of my client class, but it never connects. I get this error:
Any ideas? Any help is greatly appreciated!
[ December 21, 2004: Message edited by: Daniel Simpson ]

SCJP 1.4<br />SCJD 1.4
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

Do you have the XP Internet Connection Firewall running?


[How To Ask Questions On JavaRanch]
Daniel Simpson
Ranch Hand

Joined: Sep 02, 2004
Posts: 181
I sure did, and I changed it and now it works! Thank you so much!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server/Client On Separate Machines