Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Client Server tutorial - Knock Knock

915615Feb 6 2012 — edited Feb 7 2012
Hi, I am in the process of running through the Java tutorial on creating a KnockKnock Client and KnockKnock Server.

http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html

Part of the tutorial asks me to modify the host name to a valid home name from my network.

How do I find a valid name for my host network?

The following is the part that covers this in the tutorial.

"If you forget to change the host name in the source code for the KnockKnockClient program, you will see the following error message:

Don't know about host: taranis

To fix this, modify the KnockKnockClient program and provide a valid host name for your network. Recompile the client program and try again."

Thanks in advance
This post has been answered by gimbal2 on Feb 7 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2012
Added on Feb 6 2012
5 comments
627 views