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 回答1: 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. 回答2: In Linux you get this error if the servername is not in the hosts file check /etc