Click here to Skip to main content
15,882,163 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am following the JEE6 Tutorial. I installed SDK with GlassFish and after NetBeans. While installed GlassFish from SDK I wasn't able to use port 8080 because it was used by OracleXE. Then I chose 8081. Now when I am trying to deployed a simple project to GlassFish I couldn't. It is strange to me because I could open the mycomputer:8081/ and mycomputer:4848/ on my Chrome. After some search by Google, I attempted solve this issue by kill the process using 8080, re-seted the GlassFish to 8080 but I still unable to deployed the project and received the message that the port is occupied. It's strange because I now can open mycomputer:8080 and on port 8080 is java.exe started when I started GlassFish manually.

C:\Users\demecarv>netstat -aon | find ":80" | find "LISTENING" TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 1852 TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 384 TCP 0.0.0.0:8094 0.0.0.0:0 LISTENING 372 TCP 0.0.0.0:8096 0.0.0.0:0 LISTENING 472 TCP [::]:80 [::]:0 LISTENING 4 TCP [::]:8080 [::]:0 LISTENING 1852


I folowed:
http://stackoverflow.com/questions/2366043/glassfish-v3-domain-server-cannot-start-port-is-occupied[^]
Posted
Updated 14-Jan-13 9:46am
v3

1 solution

 
Share this answer
 
v3
Comments
supupoff 10-Dec-13 17:09pm    
What is ths solution plz help ?
Sergey Alexandrovich Kryukov 10-Dec-13 18:11pm    
I added the 3rd link to the updated answer; look it up and use unassigned port number.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900