This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes SocketError while using Servlets on LinuxRH7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SocketError while using Servlets on LinuxRH7.0" Watch "SocketError while using Servlets on LinuxRH7.0" New topic
Author

SocketError while using Servlets on LinuxRH7.0

Sameer Rao
Greenhorn

Joined: Oct 12, 2000
Posts: 20
--------------------------------------------------------------------------------
I am using a dual boot with RH7.0 Linux and JDK2 v 1.3 and jswdk
When I try run the web server and try to access the Servlet using Netscape 4.7, I get and Internal Error creating Socket message on the shell from where I fired the Webserver.
The Servlet class file is in the correct location, and the URL
is correct too. re there any known problems/bugs ? Help me out...

------------------
_SvR_

------------------
_SvR_


_SvR_
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Depends on your port setting, on unix boxes, you must be root to use any ports under 1024. So, if you are not root, and running the port under 1024, you will get an error.
 
 
subject: SocketError while using Servlets on LinuxRH7.0