Quote:1. Is there a way to determine how many ports the computer is using vs which one are available?
On Windows there is no real standard. Fortunately, the US govt. requires that Windows be Posix compliant for their servers. So on Winnt based systems (winnt, win2000, XP), the list of services with the port numbers used is in \winnt\system32\drivers\etc\services, or in \windows\system32\drivers\etc\services.
On Linux the same file is /etc/services. In either case, not all of the listed services are necessarily used on your system, but have been assigned port numbers by the standards body: "The Internet Assigned Number Authority" (IANA -
http://www.iana.org/).
Quote:2.Starting ports numbers,how high can you go?
You can go to 65535. But there are ranges that should be avoided. From the IANA site:
The port numbers are divided into three ranges: the Well Known Ports,
the Registered Ports, and the Dynamic and/or Private Ports.
The Well Known Ports are those from 0 through 1023.
The Registered Ports are those from 1024 through 49151
The Dynamic and/or Private Ports are those from 49152 through 65535
Quote:3.When I first set up the server-client I tried to use the numbers in the manual, could not get them to connect, so I let sesame choose by default, but now I would like to start a second sesame server, if I let sesame server use the defaults will it use the next available or do they need to be specified?
Sesame will default to 20000 and 20001, if the port numbers are not otherwise specified. It is very unlikely that 20002 and 20003 are being used, so you might want to simply continue in that sequence.
Quote:4.Is there a way of finding out which ports sesame is using as the defaults?
20000 and 20001.
Thanks for clarification !! [/quote]