Saturday, April 9, 2011

Glassfish no free port available port value out of range

You may get this error when trying to start the Glassfish server. I believe this occurs because it's trying to use a port already in use.

My glassfish was set up with default ports 8080, and I had a Default Web Site and Team Foundation server running using port 8080. When I shut these off, this error disppeared.

When I have time I'll just change the ports.

1 comment:

  1. You can also change the ports used by Glassfish in domain.xml under the domain config folder. In my case an Oracle DB listener was using my port 8080. The entries should look something like: