Date: Thu, 10 Apr 1997 18:06:57 -0700
Message-Id: <199704110106.SAA00710@puffin.eng.sun.com>
From: Marianne Mueller <mrm@Eng>
To: urbanec2@students.zcu.cz
Subject: Re: Q: java.net.SocketException: Not privileged
Where are you getting JDK 1.0.2 for IRIX 5.3 from? From SGI?
I suspect you are trying to connect to a priviledged port - on Unix,
that is any port under 1024. And, typically, you can only connect to
a priviledged port if the JVM is running in a process started by
"root" (== superuser, or su.) Try running the server side program on
a higher port, like 8000, and see if you can connect to it then.
Marianne
> X-Authentication-Warning: siren3.zcu.cz: urbanec2 owned process doing -bs
> Date: Thu, 10 Apr 1997 12:32:35 +0200 (DST)
> From: Jakub Urbanec <urbanec2@students.zcu.cz>
> X-Sender: urbanec2@siren3.zcu.cz
>
> Good Morning,
>
> I have "java.net.SocketException: Not privileged" in my applet, when
> opening TCP socket to a [server, port] though:
>
> - specific server exists and it is running ( ping server OK) and there is
> a server process on the specific port (ie port: 21, 25, ...)
>
> - appletviewer has both Network and Class Access 'Unrestricted'
> and so applet can directly access the network
>
> - I use JDK 1.0.2 for IRIX 5.3 and command 'upgrade' doesn't change source
> programs.
>
>
> I know you are very *BUSY* but please, will you help me?
>
> Send me for example just a URL
>
> Thanks
> Jakub CUBA++
>
> P.S. My applet will 'sniff' around defined ports on specific server to
> watch over hacker's server programs on high ports on our UNIX machines
>
>
> ..............................................................................
> Jakub CUBA++ Urbanec, student FAV, Distributed Systems, more info on URL:
> http://home.zcu.cz/~urbanec2/
>
>