HP-3000 Systems Discussion wrote:
> Does anyone know a way arround this? I'm trying to compile a sockets
> based java application from the POSIX environment and when I enter
> java "application name" I get the following. I'm trying to use port
> 2021.
>
>
> java.net.BindException: Permission denied
>
> at java.net.PlainSocketImpl.socketBind(Native Method)
>
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
>
> at java.net.ServerSocket.<init>(ServerSocket.java:173)
>
> at java.net.ServerSocket.<init>(ServerSocket.java:86)
>
> The offending statement is:
>
>
> ssock = new ServerSocket( port );
>
Charles,
Have you tried doing a telnet to the machine and port 2021? Have you tried
running the Java program on another machine to help narrow done why the bind
is failing?
Mark
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *