1829863 Members
2268 Online
109993 Solutions
New Discussion

Permissions on port 80

 
SOLVED
Go to solution
Mike Ingram_1
Frequent Advisor

Permissions on port 80

Hi,
I have an application that has it's own as2 server, but when I attempt to run it, I get errors like "java.net.BindException: Permission denied:80".
The software is run as a standard user, not root.
Is there some way that I can allow port 80 to be used by this user.
Is this even the problem, or is it possibly a different problem?!
Many thanks.
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: Permissions on port 80

This doc will help.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-4242/5187-4242_top.html&con=/hpux/onlinedocs/5187-4242/00/00/11-con.html&toc=/hpux/onlinedocs/5187-4242/00/00/11-toc.html&searchterms=80%7cnon%7croot%7cport&queryid=20031007-210602

ports under 1024 require root authorization to use the port. Most web servers come with a root script to do that.


The document tells you how to do this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vasikaran Venkatesan
Frequent Advisor

Re: Permissions on port 80

I do not see in the document for - how to give normal user to use a port under 1024?.

any help.. thanks.

Re: Permissions on port 80

I didnt see anything that explain how to give privileges to nonroot user in the doc
Bejoy C Alias
Respected Contributor

Re: Permissions on port 80

Is there already a web server listening on the port 80 ? try 'lsof -i tcp:80' or 'netstat -an |grep 80'. If there is no processes listening on this port , sorry i can't help.
Be Always Joy ......