HP3000-L Archives

February 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wonsil <[log in to unmask]>
Reply To:
Date:
Mon, 10 Feb 2003 13:31:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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 *

ATOM RSS1 RSS2