Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GlassFish v3 Domain Server cannot start. Port is occupied

I imagine this is a pretty generic error. I cant seem to find any documentation on it.

I am simply attempting to run a java web project with jsp's and beans... using netbeans 6.8 on windows xp.

Thoughts? apologies for such a newb question.

-Kirb

like image 789
Kirby Avatar asked Mar 02 '10 19:03

Kirby


People also ask

Could not start GlassFish server administrator port is occupied?

I had the exact same problem and the way I solved it was to delete the glassfish, tomcat7 and tomcat 8 servers from my IDE. I then deleted their folders on my hard disk and reinstalled the glassfish alone. Everything worked fine after that.

How do I reset my GlassFish server?

Use the restart-domain subcommand in remote mode to restart the Domain Administration Server (DAS) of the specified host. When restarting a domain, the DAS stops accepting new connections and then waits for all outstanding connections to complete. This shutdown process takes a few seconds.


1 Answers

you need to know who occupied the port. run in cmd netstat -aon | find ":80" | find "LISTENING" you will see process id. go to Task Manager and drop it.

like image 171
Andrey Avatar answered Sep 22 '22 01:09

Andrey