users@glassfish.java.net

Re: Unable to start Glassfish at port 80

From: Gabor Szokoli <szocske_at_gmail.com>
Date: Tue, 18 Dec 2007 10:15:32 +0100

On Dec 18, 2007 9:17 AM, <glassfish_at_javadesktop.org> wrote:
> Hi
>
> Kindly note that in my compnay we have Web Application Installed on Glassfish Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) on Solaris 9.
>
> In above case the http-instance port is configured 80 only. After restarting Glassfish on that server I am not able to access http://localhost:80, but I am able to access the http://localhost:4848.

First, make sure glassfish is running as root, or with sufficient
privileges to bind to port 80 (ports below 1024 are treated special in
unix.)
Then please observe the output of this command (I hope it is the same
on Solaris):
netstat -lnp
It lists each open port, complete with the name of the process listening on it.
Please do this both before starting glassfish (to ensure no other
process occupies port 80) and after (to see if glassfish successfully
binds or not)

Local firewall rules could prevent you from accessing the port with
your browser.

Some more of your server.log regarding the HTTP listeners might
contain more hints.


Gabor Szokoli
fellow glassfish user