I get the following error when I\'m trying to start my glassfish server with default settings from netbeans IDE 7.3.1:
java.net.BindException: Address already in
Have a look at /glassfish/domains/domain1/config/domain.xml, you should find a section like this
These should be the ports glassfish needs to open. In my case I hade your same error due to the port 8181 being already used by another process. I changed the port to 8187 and everything worked fine. Otherwise you should find (netstat -a -b if you are on windows) and stop the processes using these ports before starting glassfish.