Tuesday, February 3, 2004 06:40 AM
...sometimes i've got an error called port out of range exception...
If you're running on a Unix system (Linux, Solaris, MacOS, ...) and you're not running as "root", it won't let you listen on a local port numbered lower than 1024 (Unix considers low-numbered ports to be "privileged"). I don't know if this is the cause of your exception or not. But if it is, when you choose a data port number (and when you are going to listen on it yourself), you have to choose an unused high-numbered one.