Operating System - HP-UX
1834293 Members
2065 Online
110066 Solutions
New Discussion

Re: WebLogic : Usage of port number 80 without using root

 
SOLVED
Go to solution

WebLogic : Usage of port number 80 without using root

I would like to continue a discussion of a message earlier : http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=629059

Like here I would like to use port number 80 and to start weblogic with an application account. I receive permission denied messages on that port number, when starting Weblogic with the root account there are no problems.

Is there anything we can do to use this port without having to start weblogic with the root account?
3 REPLIES 3
Fred Ruffet
Honored Contributor
Solution

Re: WebLogic : Usage of port number 80 without using root

I believe that ports under 1024 are for root only. You may consider running your app setuid.
Apache for example is launched by root and you specify in conf file what user to use. It's because root opens the port. Maybe you have such an option in WebLogic conf.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
T G Manikandan
Honored Contributor

Re: WebLogic : Usage of port number 80 without using root

Ports below 1024 can be used by root only.

To enable your user to use that port provide root privileges using 'sudo'

Get that tool from the
http://hpux.cs.utah.edu

Re: WebLogic : Usage of port number 80 without using root

You don't need to start your server on port 80 because is only for the console.

When you creates your server, the server that will give the application "managed server" in weblogic language, you can assign port 80 in the console whithout problem but you need to run also NodeManager with user root.

Regards,

JC