3 Replies Latest reply: Aug 22, 2008 9:36 PM by 807589 RSS

    Choosing a port for Client/Server applications

      Just going through the Sun tutorials and trying to establish a connection. In the KnockKnockClient example program they have initiated a new Socket with a server name and port number as follows:
      kkSocket = new Socket("taranis", 4444);
      I've changed the taranis to "" and port number to something random that is unused (37838) but I still get an IOException.

      Are there any particular ports I can use on my local machine to get the programs up and running?